index
index

Reputation: 41

Is it possible to find out the total size of all existing npm modules in the npm registry (f.e. npmjs.org)?

I need to create offline npm repository and therefore this question arose. So i wanna to know the total size based on size of the *.tgz for each package and it should include every available version for each package.

Upvotes: 3

Views: 989

Answers (1)

polkovnikov.ph
polkovnikov.ph

Reputation: 6632

Yes, and quite easily: open https://replicate.npmjs.com/ and take a look at sizes.

At this moment it's 285 GB.

Upvotes: 2

Related Questions