4 ms·
https://www.npmjs.com/package/D https://www.npmjs.com/package/D Stats 64,840 downloads in the last day 1,360,036 downloads in the last week 4,98
by lhnz 10y ago
https://www.npmjs.com/package/D https://www.npmjs.com/package/D
Stats
64,840 downloads in the last day
1,360,036 downloads in the last week
4,980,362 downloads in the last month
Why is this package so popular?
Shouldn't NPM be able to determine the difference between packages that are in use and package squatting?
- elliottcarlson 10y agoPossibly missing a hyphen when issuing `npm install -D <something>`
- chrisfosterelli 10y agoIt looks like npm is confusing the download count with another package, 'd' (lowercase)[0]. I didn't realize that npm packages were case-sensitive, and apparently neither does their download counter! Edit: Apparently there is a Github issue for this[1] [0]: https://www.npmjs.com/package/d https://www.npmjs.com/package/d [1]: https://github.com/npm/registry/issues/38 https://github.com/npm/registry/issues/38
- franciscop 10y agoAnd I think they aren't anymore. But they were back in the day, so for compatibility reasons they have to keep some of them that way. Edit: further evidence: when you mistype a name in lowercase such as https://www.npmjs.com/package/aaaaaaaaaabbb https://www.npmjs.com/package/aaaaaaaaaabbb it gives you instructions on how to create the package with that name; however when you do with a name with a capital letter such as https://www.npmjs.com/package/aaaaaaaaaabbB https://www.npmjs.com/package/aaaaaaaaaabbB it just shows a 404
- chrisfosterelli 10y agoAh, that makes sense. Given that OSX and Windows are often case insensitive filesystems I could see that being a world of messy edge cases.