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 #25: dist-tag, talking to Microsoft, semicolon trolling

Sign up for the weekly and get this sent to you instead!

npm te ama

let’s talk about distribution tags

You might have noticed that it’s possible to install npm@latest, which fetches npm 2.13.5, or npm@beta, which fetches npm 3.3.0. Those tags, latest and beta, are examples of distribution tags, and they’re pretty great.

Tagging enables multiple streams of development — think “stable” and “canary” — in order to test out changes before they’re widely used by everyone, and lets users decide whether they want to opt in to testing new things or just want your package to work. (Consider using latest to mean “the newest we intend most people to use”, not just “the newest.”)

Add, remove, and enumerate distribution tags with dist-tag.

(Also on the subject of versions: if you missed it, check out last week’s explainer on semantic versioning.)

let’s improve the Windows development experience

Over 40% of the developers who use npm’s registry are running Windows — a number which more or less held steady for a year, and now is increasing month over month — so anything that improves the process of Node development on a Windows machine has a major impact.

The good news is that we have a monthly check-in with Microsoft’s Visual Studio team to keep an open line and make things more awesome. The also-good news is that you can help. Do you develop in Windows? What works, what hurts, and what’s on your wish list? Let us know: tweet, email, or reach out through any of the other usual channels.

let’s test npm Orgs

We have received actual fan mail about our upcoming Orgs support for teams and groups, and we hope you’ll love it too. Want to try this out before our release later this fall? Sign up for the beta.

let’s help Nick with usability testing

We’re also still looking for volunteers to participate in a 30-minute usability session to shape upcoming improvements to package discovery, registry pages, and managing npm features. This is your chance to influence a tool used over 2 billion times in the last month alone, and score neat swag. Can you lend a hand?

let’s welcome another new human

Angela Eichner comes to us this week from Loggly to help bring npm to the largest names in technology, finance, and commerce. If you’re looking to support npm for large teams, self-host the npm registry on premise, or talk custom solutions, get in touch.

let’s make these Weeklies better

What are you working on? Who’s doing inspiring things? What projects could use a hand?

Drop us a note with your suggestions for the Weekly. Just reply to this email with your ideas.

let’s teach the controversy: standard

standard is a module that enforces consistent JavaScript style in your project.

semicolons requires semicolons and will throw an exception if every line does not end with one.

We absolutely do not recommend attempting to use both of these at the same time.

sponsored

let’s get you a Node job

Hired connects Node developers with over 2,500 vetted tech companies in 13 major tech hubs, probably including yours. Developers on Hired receive an average of 5 interview requests within a week. Looking for a job? Check them out.