This is stars and forks stats for /gvergnaud/ts-pattern repository. As of 04 May, 2024 this repository has 9391 stars and 88 forks.
TS-Pattern The exhaustive Pattern Matching library for TypeScript with smart type inference. import { match, P } from 'ts-pattern'; type Data = | { type: 'text'; content: string } | { type: 'img'; src: string }; type Result = | { type: 'ok'; data: Data } | { type: 'error'; error: Error }; const result: Result = ...; const html = match(result) .with({ type: 'error' }, () => <p>Oups! An error occured</p>) .with({ type: 'ok', data: { type:...
TS-Pattern The exhaustive Pattern Matching library for TypeScript with smart type inference. import { match, P } from 'ts-pattern'; type Data = | { type: 'text'; content: string } | { type: 'img'; src: string }; type Result = | { type: 'ok'; data: Data } | { type: 'error'; error: Error }; const result: Result = ...; const html = match(result) .with({ type: 'error' }, () => <p>Oups! An error occured</p>) .with({ type: 'ok', data: { type:...
repo | techs | stars | weekly | forks | weekly |
---|---|---|---|---|---|
chipsalliance/aib-phy-hardware | VerilogSystemVerilogForth | 111 | 0 | 27 | 0 |
polymerdao/plonky2-solidity-verifier | SolidityRustTypeScript | 43 | 0 | 1 | 0 |
the-pudding/censorship | SvelteJavaScriptCSS | 44 | 0 | 0 | 0 |
yashash1511/win11Svelte | SvelteCSSTypeScript | 1.4k | 0 | 39 | 0 |
ksz-ksz/rxjs-insights | TypeScriptJavaScriptOther | 342 | 0 | 13 | 0 |
ichitaro/carla-trail | TypeScriptJavaScriptGLSL | 110 | 0 | 12 | 0 |
DouyinFE/semi-design | TypeScriptJavaScriptSCSS | 7.3k | 0 | 594 | 0 |
dsrkafuu/sakana-widget | TypeScriptHTMLJavaScript | 797 | 0 | 50 | 0 |
vinayrayapati/iiitb_rv32i | VerilogOther | 6 | 0 | 2 | 0 |
hellotham/hello-astro | AstroJavaScriptTypeScript | 109 | 0 | 38 | 0 |