Overview
nodetsp is a cli scaffolding tool that automates the setup of Node.js projects with TypeScript, ESLint, Prettier, and Git. Spend less time on boilerplate and more time writing code.
Features
Feature | Description |
---|---|
Full ESM & modern TypeScript support | Built with the latest standards for modern development |
Pre-configured ESLint & Prettier | Consistent code style out of the box |
Automatic Git repository initialization | Version control ready from day one |
Customizable folder structure | Organize your project the way you want |
One-command project scaffolding | Get started with a single command |
Installation
npm install -g nodetsp
Usage
npx nodetsp init
CLI Options
Option | Description | Default |
---|---|---|
-p, --pm <manager> | Package manager: npm or pnpm | npm |
-m, --ms <system> | Module system: esm or cjs | esm |
-f, --fd <folders> | Comma-separated extra folders: lib,utils,config,types | none |
-g, --git | Initialize a Git repository | false |
-v, --version | Display version | — |
-h, --help | Show help | — |
Generated Project Structure
my-project/
├── src/
│ └── index.ts
├── dist/
├── .prettierrc
├── .gitignore
├── tsconfig.json
└── package.json
License
This project is licensed under the MIT License.