Skip to main content

npm

How to use a CDN to access your npm module

Submitted by daniel on
In my last post I wrote about how to publish your article to a public registry like npm (node package manager). Once you have added your code to the registry your code automatically becomes available via a Content Delivery Network (CDN). Here we look at a couple of CDN's and how to utilise them in your code or build pipeline.

Tags:

Publishing your javascript module to npm

Submitted by daniel on
To facilitate you and others using your code, one option is to publish it to a public package manager or registry. One of the most popular for javascript code is the npm registry, a public collection of packages of open-source code for Node.js, front-end web apps, mobile apps, robots, routers, and countless other needs of the JavaScript community.