DEV Community

loading...

npm passes the 1 millionth package milestone! What can we learn?

Liran Tal
🥑 Developer Advocate @snyksec | @NodeJS Security WG | @TheSecureDev team | @jsheroes ambassador | Author of Essential Node.js Security | Let's talk! 😉 ❤️
・1 min read

June 4th is a historic date where the millionth package was indexed into the npm registry. npm is a package manager for JavaScript packages.

We wanted to share some insights that we thought are interesting and could get our hands on

What are npm's most popular packages? how many vulnerabilities are associated with them?

Here are the top 3

  • lodash: 3 vulnerabilities (1 high sev)
  • request: 1 vulnerability (17 typosquatting attempts)
  • chalk 0 vulnerabilities: (1 typosquatting attempt)

How many downloads do the top 10 packages pull in?

  • debug: >40 million weekly downloads
  • kind-of: >34 million weekly downloads
  • supports-color: >34 million weekly downloads

We wrote in further detail at
https://snyk.io/blog/npm-passes-the-1-millionth-package-milestone-what-can-we-learn on more registry and community statistics such as how many npm packages were added in 2019? What are some interesting insights from the Node.js Foundation's package maintenance working group?


What can you share on your experience with npm? Happy to hear!

Discussion (0)