// blog
15 May 2026 · 5 min read
Why my npm packages have zero dependencies
When I published lightq-node I started realising something: every dependency you add isn't really yours. It belongs to someone you don't know, who might disappear tomorrow.
Node.jsnpmTypeScript
10 May 2026 · 6 min read
The silent scheduler bug: accumulated drift
I had a scheduler using setInterval that after a week in production was firing tasks several minutes late. Here's what I learned.
Node.jsschedulingTypeScript
3 May 2026 · 4 min read
Writing files without breaking them: the tmp + rename trick
A process that dies mid fs.writeFile leaves a corrupted JSON. It's not an edge case — it happens on deploys, restarts, power cuts. There's a two-line fix.
Node.jsfilesystem