u/awaitVibes

Yet Another TypeScript Template: Opinionated and minimal.
▲ 0 r/javascript+1 crossposts

Yet Another TypeScript Template: Opinionated and minimal.

Built this for myself, sharing in hopes some may find it useful.

Features:

  • Reduce supply chain risk with a .npmrc preconfigured with ignore-scripts and min-release-age enabled
  • Test without extra tooling using the built-in Node.js test runner
  • Run TypeScript directly in Node.js using native type stripping (erasableSyntaxOnly enabled to enforce compatibility)
  • ESLint & Prettier preconfigured
  • Husky pre-commit configured to lint, format & test
  • Strict type checking on run and test
  • Pinned dependencies to reduce supply chain risk
github.com
u/awaitVibes — 3 days ago