Skip to content

AndyOooh/create-node-template

Repository files navigation

React Hook Form Logo - React hook custom hook for form validation

npm version install size npm type definitions npm downloads npm npm

A CLI template generator for Node.js projects with modern Typescript configuration.

Table of Contents

Prerequisites

  • Node.js v 16.7.0 or higher (required by experimental fs.cp in node-basic).
  • tsx global install recommended.

How to use

npx create-node-template <project-name> --flags

Arguments and flags are optional.

Features

Node Basic

  • Import path aliases.
  • Eslint flat config file (requires VSCode setting).

Express Basic

  • all features of node-basic
  • Express server setup

Express Advanced

  • all features of express-basic
  • Express error handling
  • Express logging
  • Express monitoring

Flags

  • -t, --template
  • -pm. --package-manager

References

About

Node.js/Express.js CLI Project generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published