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.

npm weekly, #16

Electronic mail more your style? Get the weekly delivered.

what’s new in the CLI?


If you’ve done much development in The Enterprise®™, you know that keeping track of software licenses is far more important than one might expect / hope / fear. Fortunately, the Linux Foundation has been working on a machine-parseable format for sharing license information called SPDX. Thanks to Kyle Mitchell, npm will now encourage SPDX’s way of declaring the license for a package.

In the long run, if all packages start using this syntax to declare their licenses, many people’s lives will be made much simpler. Check out the CHANGELOG for more info.

building a simple command line tool

We asked what you planned to use private modules for, and one of the most common answers was command line tools for teams to use when developing projects.

This post will show you how to make your deployment process easier by building reusable npm run scripts.