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.
git clone https://github.com/bersling/typescript-library-starter.git
then modify whatever you want, then
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
and publish your brand new cool library. Have fun!