Code Snippets
Node.js
Server-side JavaScript, and the streaming that stops it eating memory when the file is bigger than the machine.
Everything in Node.js

09/26/2026
Run TypeScript in Node.js without a build (type stripping)
Node 24 runs .ts files directly by stripping types, with no ts-node or tsx. What works, the syntax that fails, the import rules, and the tsconfig to use.

09/02/2026
Reading a huge file line by line in Node, without loading it
readFileSync on a 2GB log is how a Node process dies. Streaming it line by line uses a constant few kilobytes instead, and is barely more code.