VitorLuizC / 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.

Repository from Github https://github.comVitorLuizC/typescript-library-boilerplateRepository from Github https://github.comVitorLuizC/typescript-library-boilerplate

[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.

License:MIT License


Languages

Language:JavaScript 66.5%Language:Shell 20.1%Language:TypeScript 13.4%