typescript-library-boilerplate

Initialize it running "node ./setup.js". A TypeScript library boilerplate. Check types pretty strictly; generates CommonJS, ESM and UMD bundles with Rollup.js; setup unit tests with Jest; and generate docs from sources with Typedoc.

boilerplatelibrarytypescripttypescript-librarytypescript-boilerplatelibrary-boilerplatetypescript-library-boilerplate
FreeRepo

Preview

typescript-library-boilerplate preview

Overview

This is a template for publishing a JavaScript library to NPM with support for multiple installation methods. It provides setup instructions for npm and yarn package managers, CDN distribution via JSDelivr and Unpkg and includes TypeScript documentation generation and MIT licensing.

Features

commonjs-bundleesm-bundleumd-bundleunit-teststype-checkingdocumentation-generation

Feature Flags

documentation

Recommended Use Cases

typescript-library-developmentnpm-package-publishingmulti-format-bundle-distribution

Frontend

None

Backend

None

Auth Providers

None

Deployment Targets

npmcdn

Payment Providers

None

Quick Facts

โญ Stars
98
๐Ÿด Forks
11
๐Ÿงพ License
MIT
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2024-09-20T01:48:30.000Z

Stack

Language
typescript
Testing
jest

Data Layer

UI Stack

Developer Experience

Docker
No
Tests
Yes
Quickstart
Yes
env.example
No

Pricing

Classification
free
Selected
โ€”
Notes
Open source MIT licensed project
Get Started with this Boilerplate