Instantly create a fully configured npm package with GitHub Actions, testing, and modern tooling. Follows Matt Pocock's latest best practices for npm packages.
npx init-npm-pkg- Bun or npm - Choose your package manager
- Biome or ESLint - Modern linting and formatting
- Vitest or Bun Test - Fast testing frameworks
- GitHub Actions - Automated CI/CD
- Changesets - Semantic versioning
- TypeScript - Full type safety
- Git setup - Optional repository initialization
This tool was used to create antiemdash - a TypeScript utility to remove or replace em dashes in strings, with built-in support for wrapping Vercel AI SDK functions.
The package demonstrates the full setup including:
- TypeScript configuration
- GitHub Actions for CI/CD
- Comprehensive testing with Vitest
- Modern linting with Biome
- Semantic versioning with Changesets
| Setting | Options |
|---|---|
| Package Manager | Bun, npm |
| Linter | Biome, ESLint + Prettier |
| Testing | Vitest, Bun Test, None |
| Git | Initialize repository (optional) |
MIT

