2.0.2 • Published 4 years ago

hzwrld v2.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Example Typescript 2.x Library

Simple starter library from May 2018. Tutorial can be found at https://www.tsmean.com/articles/how-to-write-a-typescript-library/.

Or just browse the code here! Or clone the repo.

Usage

git clone https://github.com/bersling/typescript-library-starter.git

then modify whatever you want, then

tsc

You can check if everything is working like this: https://www.tsmean.com/articles/how-to-write-a-typescript-library/local-consumer

You can write a test like this: https://www.tsmean.com/articles/how-to-write-a-typescript-library/unit-testing

And once you're ready, simply change the name in the package.json and publish your brand new cool library. Have fun!