You can do a lot in Node.js and TypeScript without ever building an NPM package. But what if you find yourself wanting to pull code out to share it amongst several Node.js projects? You may find that putting it into an NPM package is the way to go.
Full article