๐ฆ
Dual Package Support
Build ESM and CommonJS with tsup. Ship packages that work everywhere.
Everything you need to build, test, document, and publish high-quality npm packages.
# Clone the template
git clone https://github.com/MoaazKHASSAWNEH/NPM-Package.git my-package
cd my-package
# Initialize your package
node scripts/init-template.mjs
# Start developing
pnpm dev| Category | Tools |
|---|---|
| Build | tsup (ESM + CJS + types) |
| Test | Vitest with V8 coverage |
| Lint | ESLint 9 flat config + Prettier |
| Documentation | VitePress + TypeDoc |
| Git Hooks | Husky + lint-staged |
| CI/CD | GitHub Actions |
| Releases | Changesets |