Typescript NPM Starter Template
Create TypeScript npm packages using this example. Boilerplate code includes CI/CD and changelogs
This project was born from me wanting to create an NPM package. The package I'm creating provides a number of functions for calculating blood glucose and insulin values. My son was recently diagnosed with Type 1 diabetes and thought that this might help others.
As you can imagine, testing for such functions is extremely important so that package isn't quite ready yet, but I took what I had learned from various sources and created a template for anyone wanting to create a Typescript function library for NPM
The template includes TSUP for the build, Changesets for changelogging and Github Actions for CI/CD. For automated testing, I choose to use vitest