CLI tool for creating TypeScript NPM library projects.
# Using npx (recommended)
npx create-ts-npm-lib
# Or
npx create ts-npm-lib
# Or install globally
npm install -g create-ts-npm-lib
create-ts-npm-lib
# Using pnpm
pnpm dlx create-ts-npm-lib
# Using yarn
yarn create ts-npm-lib
After running the command, follow the prompts to:
- Enter your project name
- Provide a description
- Set author information
- Choose version number
- Select license type
The tool will then:
- Create a new directory with your project name
- Set up a TypeScript NPM library project structure
- Configure all necessary build tools and testing framework
- Initialize Git repository
- 📦 TypeScript support
- 🛠️ Out-of-the-box build configuration
- 📝 Automatically generate project documentation
- ✅ Integrated test environment
MIT