npm Blog (Archive)

The npm blog has been discontinued.

Updates from the npm team are now published on the GitHub Blog and the GitHub Changelog.

Introducing the npm Weekly

There’s a lot going on here at npm, Inc., and even more going on in the community that supports npm. There are lots of great tutorials being written, changes being made to the CLI (v3 is just around the corner!), issues being bikeshedded.

To help you keep up with all of these goings-on, we’re introducing the npm Weekly. You can have it delivered to you, or you can just follow us here for your weekly updates.

What’s new in the CLI

image

You might have noticed that npm@next bumps us up to a new minor version range, 2.2.0. The new feature is a new run-script, npm run env. This makes it easy to check the environment variables that would be available in the npm run shell environment. You’ll want to use this command if you’re building other scripts and need to know what variables you’ll have available.

From the Community

image

One article from last year that we thought was very helpful was Keith Cirkel's How to Use npm as a build tool. It documents some of the lesser known ways that you can use npm as part of your development workflow. We’re working on adding more documentation about these lesser known features, but in the meantime, this is a great way to learn about them.

This Week’s Downloads

image

We were happy to see folks take a nice break over the holidays. We were equally happy to see everyone come back, helping us reach 3,200 rps (our new highest peak registry requests per second) and 36,673,743 total downloads for the day yesterday.