Analysis of the package.json data in the npm registry

Today I had a look on the metadata in the npm registry which currently contains 48248 modules.

I was interested in the most used licenses and if there are many modules which do not reference a repository in their package.json

The most used licenses in the npm registry are the less permissive ones:


Around 2% of the packages seem to be dual licensed.

Most modules reference a repository in their package.json, I expected much more from the things that I hear from twitter:


7496 do not provide a reference to a repository vs. 40752 modules that provide one.

If you are interested in the raw data of the repository values, here is the gist