TypeScript can check a credit card number's checksum (Luhn). One wrong digit is a compile error, no runtime code.

ALT TypeScript code in an editor. Recursive types reverse a card number's digits, double every second one and add them up, and the number passes if the total ends in 0. A card() function uses the result: three valid card numbers compile, and the same numbers with one digit changed show red squiggles and the error "Argument of type ... is not assignable to parameter of type 'never'".
#ggg is now a compile error. TypeScript types can check hex colors, alpha included, no runtime code.
I built a Spotify client for the terminal.
waxon has vim keys, album art and synced lyrics, and it can play music by itself or drive the Spotify app.
Free and open source. Try the demo in your browser 👇
Typo a CSS module class and tsc fails. No codegen, no .d.ts files.
typed-css-imports uses content mappers from the TypeScript 7.1 beta, so styles.buttn is an error in your editor and in CI. Completions update as you type in the CSS file. Sass works too.
pnpm add -D typed-css-imports [email protected]
github.com/danfry1/typed-css…
Built an open benchmark off the back of this: 5 typescript checkers, 3 real projects, raw output behind every result
Controlled numbers come in under my quick first run. tsc-ts is 4.5x faster than tsgo on type-fest at defaults, 3.4x with both at 10 threads.
ts-checker-bench.danfry.dev
another use: Ethereum addresses vs hashes (the case @MicahZoltu asked for in TypeScript issue #52243).
Address = exactly 40 hex chars, Hash = exactly 64, so mixing them up is a compile error. no brands, no runtime code.
playground: typescriptlang.org/play/?#co…
Built a vim-modal Spotify TUI in Go. Album art rendered with Unicode half-blocks, full vim keybindings, command mode.
Powered by @charmcli
Had a great time at #SvelteSummit and met some really amazing people, was also fortunate to get the chance to meet some of the folks who have had a major influence in my coding journey thus far - @Rich_Harris && @swyx - the future of webdev is looking bright! – at Stockholm, Sweden












