@bencmbrook/typescript-template
v1.0.1
Published
TODO
Readme
typescript-template
Starter template for TypeScript projects. Using tsx, Node 22, ESLint, Prettier.
Publishable Node modules (from src/index.ts) and a CLI (from bin/cli.ts) which is usable by npx.
The only dependency is zod (you can remove it) and consola (for the CLI). Check out extra boilerplate for other common modifications.
Usage
TypeScript
import { sayHello } from 'todo';
sayHello({
message: 'world!',
});CLI
$ npx todo
Hello world!Developers
pnpm installpnpm startPublishing
pnpm publishThis runs lint, test, and build before publishing.
Extra boilerplate
Remove zod
pnpm remove zod
pnpm del src/validation.ts