Skip to content

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.

License

Notifications You must be signed in to change notification settings

VitorLuizC/typescript-library-boilerplate

Repository files navigation

[libraryNameWithSpacesAndUpperCases]

Continuous Integrations License Package tree-shaking Package minified & gzipped size Package dependency count

Installation

This library is published in the NPM registry and can be installed using any compatible package manager.

npm install [libraryName] --save

# For Yarn, use the command below.
yarn add [libraryName]

Installation from CDN

This module has an UMD bundle available through JSDelivr and Unpkg CDNs.

<!-- For UNPKG use the code below. -->
<script src="https://unpkg.com/[libraryName]"></script>

<!-- For JSDelivr use the code below. -->
<script src="https://cdn.jsdelivr.net/npm/[libraryName]"></script>

<script>
  // UMD module is exposed through the "[libraryCamelCaseName]" global variable.
  console.log([libraryCamelCaseName]);
</script>

Documentation

Documentation generated from source files by Typedoc.

License

Released under MIT License.

About

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.

Topics

Resources

License

Stars

Watchers

Forks