I built a CLI tool to stop copy-pasting my backend boilerplate

TL;DR AI
2 min readKey summary
Templr-js is a CLI for saving and reapplying Node.js backend boilerplate to avoid repeated copy-pasting.
It captures common startup steps like creating src/db/db.js and src/app.js, wiring express/cors/dotenv, and copying asyncHandler, ApiError, and ApiResponse utilities.
Install globally with npm install -g templr-js; example commands: templr save mybackend and templr use mybackend.
Setups are stored locally (no cloud or config files) and node_modules and .git are never copied.
Built in a day with pure Node.js (fs, path, os), templr-js has no dependencies; package: npmjs.com/package/templr-js; repo: https://github.com/Ammarfrfr/templr-js.
