/node-ts-template

Node.js TypeScript template. Includes ESM support, GitHub Actions, testing with native Node API as well as modern code linting & formatting with Biome.

Primary LanguageTypeScriptMIT LicenseMIT

Node TypeScript Template

Basic template for robust development of TypeScript apps with:

  • Node.js - Latest LTS version of Node. Currently it's LTS/Jod (v22.14.0).
  • pnpm - Fast, disk space efficient package manager.
  • TypeScript - JavaScript with syntax for types.
  • ESM Modules - modern JavaScript modules.
  • Built-in Node Test Runner - native Node.js API for running tests.
  • Biome - toolchain for linting and formatting with biome.json config file.
  • GitHub Actions - automated workflows.

Available Scripts

  • start
  • dev
  • clean
  • lint
  • format
  • check (combined lint and format)
  • prebuild
  • build
  • build:watch
  • build:release
  • test
  • test:watch