A minimal project template for new libraries.
startkit gives you a publish-ready library with nothing beyond the essentials: a test runner, a linter, and a release script. Run it, rename it, and ship.
Clone the repository and scaffold a new library:
git clone https://github.com/libnudget/startkit
cd startkit
npm install
npm link # makes the `startkit` command available
startkit mylib # creates ./mylib from the templateOr without installing anything:
npx --yes github:libnudget/startkit mylibThen move in and get going:
cd mylib
npm install
npm test- An ESM library with a
src/module and anode:testtest suite. - ESLint with a minimal flat config.
- A CI workflow that runs lint and tests on every push.
- README, CHANGELOG, LICENSE, and
.gitignore.
npm test
npm run lintMIT