create-node-template

0.1.27 • Public • Published
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

Package Sidebar

Install

npm i create-node-template

Weekly Downloads

18

Version

0.1.27

License

MIT

Unpacked Size

94.3 kB

Total Files

83

Last publish

Collaborators

  • andy_oooh