How to publish a library to NPM with Rollup & TypeScript
4 min readMar 19, 2019
TypeScript continues to be a big player in the JavaScript scene. With over 5 million weekly downloads, the backing of Microsoft and the increasing adoption by many developers (e.g. Angular, Vue.js), TypeScript has become a popular choice for web & node developers. NPM is the central registry for publishing JavaScript libraries to be used both internally (paid version) and externally (free…