Node.js TypeScript Template
This is a template repo for Node.js projects written in TypeScript. This template works for libraries and/or CLIs.
Step 1: Copy this repo
Create a new git repo and copy the contents of this repo into it.
Step 2: Delete unneeded files
If you don’t need a CLI, then:
- Delete the following files and directories:
- Delete the following fields in
- Delete the
Run CLIconfig from
Step 3: Replace placeholders
Replace all occurrences of the following placeholders in all files:
||This is the name of the NPM package. It should also match the GitHub repo name. It should be kebab-cased.|
||The name of the CLI program for this project, if any.|
||This is the human friendly name of the project that is used in the ReadMe, descriptions, and docs pages|
||A short, human friendly description of the project that is used in the ReadMe and package.json|
Step 4: TODOs
Find all “TODO” notes in the code and follow their instructions.
Step 5: ReadMe
Delete this file and replace it with