AZ.dev

Developer Reference

Opinionated micro-docs. One right answer. Copy-paste ready.

Categories

Recently Added

Array reduce: sum values and transform objects
JavaScript iterates an array and accumulates a single result. The key: always return the...
Undo the last commit but keep the changes
Git Reset the last commit while keeping all changes staged and ready to re-commit....
Fix "Cannot find module" with ES modules in Node.js
Node.js Node.js ES modules require explicit file extensions in import paths. Unlike...
A storage URL builder and its static file handler must share one prefix constant
Node.js When a storage abstraction returns URLs that the app's static-file handler is...
Content-hash dedup that restores a soft-deleted row must re-run quota and limit checks
Node.js Content-hash dedup is supposed to be free: same bytes, same row, no charge. If...
Serialize per-user check-then-write flows with pg_advisory_xact_lock(hashtext(id))
Node.js When the same user can race against themselves on a check-then-write flow...
typescript-eslint --fix can break Prisma JSON column writes
TypeScript (tightened in 8.59) flags casts at Prisma JSON write sites as "unnecessary."...
Reproduce Railway's npm ci locally with the exact npm version
Node.js When a Railway deploy fails with errors that don't reproduce locally, the...