@patelvivekdev/ts-npm-template
v0.0.4
Published
A template for npm packages with TypeScript
Downloads
222
Maintainers
Readme
TypeScript NPM Package Template
A modern, efficient template for creating NPM packages using TypeScript.
Why This Template?
- 🚀 Zero configuration setup
- 📦 Modern module bundling with tsup
- 🔍 Type-safe by default
- ⚡ Ultra-fast development with Bun
- 🧪 Comprehensive testing setup with Vitest
- 🔄 Continuous Integration ready
Getting Started
- Clone this template
- Install dependencies:
bun install
- Start development:
bun run dev
- Build your package:
bun run build
- Publish your package:
bun run local-release
Project Structure
├── src/ # Source code with tests
├── dist/ # Built package (generated)
├── .github/ # GitHub workflows
└── .changeset/ # Changeset configs
Important Resources
- TSConfig Reference
- Bun Documentation
- Vitest Documentation
- tsup Documentation
- TypeScript Config Cheat Sheet
License
MIT © Vivek Patel