Distributing an Angular Library - The Brief Guide

1 · Minko Gechev · Jan. 21, 2017, midnight
In this post I’ll quickly explain the minimum you need to know in order to publish an Angular component to npm. By the end of the post you’ll know how your module can: Be platform independent (i.e. run in Web Workers, Universal). Should be bundled and distributed. Work with the Angular’s Ahead-of-Time compiler. Play well with TypeScript by allowing autocompletion and compile-time type checking. If you’re only interested in a quick checklist of things you need to consider for distributing your ...