ts-package-template

A template to create npm packages with TypeScript

templateboilerplatetypescripteslintprettier
FreeRepo

Preview

ts-package-template preview

Overview

This is a TypeScript package template for publishing to npm with ESM and CommonJS support, pre-configured testing via Jest and linting with ESLint and Prettier and automated publishing through npm scripts or GitHub Actions. It includes build tools like Rollup and esbuild, dependency validation with Knip and support for semantic versioning and pre-release versions.

Features

esm-cjs-buildrollup-bundleresbuildjest-testingeslint-lintingprettier-formattingknip-unused-filesnpm-publish-scriptpre-release-supportnpm-pack-validationyarn-v4

Feature Flags

authenticationpaymentsjobsQueuenotificationscachingtestingci

Recommended Use Cases

npm-package-developmenttypescript-library-publishingopen-source-library

Frontend

None

Backend

nodejs

Auth Providers

None

Deployment Targets

npm

Payment Providers

None

Quick Facts

โญ Stars
58
๐Ÿด Forks
9
๐Ÿงพ License
mit
๐Ÿ”„ Active
Yes
๐Ÿ•’ Last Commit
2025-11-03T08:53:41.000Z

Stack

Language
typescript
Testing
jest
CI
github-actions

Data Layer

UI Stack

Developer Experience

Docker
No
Tests
Yes
Quickstart
Yes
env.example
No
CI
github-actions

Pricing

Classification
free
Selected
โ€”
Notes
Open source template with MIT license
Get Started with this Boilerplate