Company
Date Published
Author
Myles Borins
Word count
692
Language
English
Hacker News points
None

Summary

Just over 11 years since its inception, npm has evolved into a vital tool for millions of developers, boasting over 1.3 million packages and an impressive 75 billion monthly downloads. The latest release, npm v7.0.0, introduces significant updates, including support for workspaces, automatic installation of peer dependencies, and compatibility with yarn.lock, while also undergoing a substantial internal refactoring to enhance reliability and maintainability. Despite these upgrades, some breaking changes are necessary, such as the automatic handling of peer dependencies, a complete rewrite of npx, and altered npm audit outputs, though efforts have been made to minimize workflow disruptions. The rollout of npm v7.0.0 will be gradual to gather user feedback and ensure stability before it becomes the default, with plans for continued enhancements to the npm CLI, including workspaces and package overrides.