nodetsp

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

FeatureDescription
Full ESM & modern TypeScript supportBuilt with the latest standards for modern development
Pre-configured ESLint & PrettierConsistent code style out of the box
Automatic Git repository initializationVersion control ready from day one
Customizable folder structureOrganize your project the way you want
One-command project scaffoldingGet started with a single command

Installation

npm install -g nodetsp

Usage

npx nodetsp init

CLI Options

OptionDescriptionDefault
-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, --gitInitialize a Git repository false
-v, --versionDisplay version
-h, --helpShow 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.