JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 145
  • Score
    100M100P100Q73262F
  • License MIT

Create node.js or express boilerplate with one command

Package Exports

    Readme

    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

    Flag Description Options Default
    -t, --template Choose template type node-basic, express-basic, express-advanced node-basic
    -pm. --package-manager Choose package manager npm, yarn, pnpm, bun npm

    References