5 ms·
You would think that, but this seven line NPM package has 68M downloads a week - https://www.npmjs.com/package/isarray https://www.npmjs.com/package/isarray
by ramones13 4y ago
You would think that, but this seven line NPM package has 68M downloads a week - https://www.npmjs.com/package/isarray https://www.npmjs.com/package/isarray
- waboremo 4y agoNPM statistics are easily gamed https://dev.to/andyrichardsonn/how-i-exploited-npm-downloads-and-why-you-shouldn-t-trust-them-4bme https://dev.to/andyrichardsonn/how-i-exploited-npm-downloads... I don't doubt there are a lot of insignificant packages being used, again especially by beginners, I just don't buy it's to that scale
- ramones13 4y agoIt's pretty easy to find that the example I gave isn't gamed... A cursory search on GitHub can find a couple examples like dotenv [1] and npm's cli [2] both use it via an older version of nodejs/readable-stream [3]. There's also the classic left-pad debacle - https://github.com/left-pad/left-pad/issues/4 https://github.com/left-pad/left-pad/issues/4 [1] - https://github.com/motdotla/dotenv/blob/master/package-lock.json https://github.com/motdotla/dotenv/blob/master/package-lock.... [2] - https://github.com/npm/cli/blob/latest/package-lock.json https://github.com/npm/cli/blob/latest/package-lock.json [3] - https://github.com/nodejs/readable-stream/ https://github.com/nodejs/readable-stream/