3 ms·
> Edit: Looks like ghost has 38 direct dependencies in NPM, of which many have their own dependencies, etc. That's awesome! There's so much bad JavaScript arou
by nailer 11y ago
> Edit: Looks like ghost has 38 direct dependencies in NPM, of which many have their own dependencies, etc.
That's awesome! There's so much bad JavaScript around where someone writes their own case insensitive sort() function, or their own state machine, or scrapes wikipedia for ISO codes or currencies rather than using country-data.
It looks like ghost is working on the parts that actual deliver value to their users and letting common, well maintained projects do the common stuff.
- fapjacks 11y agoI guess you're implying that all those packages out there aren't as poorly-written as it would be if someone wrote it themselves? Have you actually looked through some of those packages published on npm and depended on by huge projects?
- nailer 11y agoI pick modules with a long maintenance history, frequent releases, lots of contributors, lots of stars, passing tests and great documentation. So do most people in npm - you can tell from module popularity stats.
- deleted 11y ago[deleted]
- eonw 11y agowhat makes you think the info used in country-data isnt just scraped from wikipedia too?
- pritambaral 11y agoEven if it is, it leaves the responsibility of updating the data to the maintainer of country-data. That, and it's really quick to just use an existing module. I believe GP wanted to use country-data as just an example for both (or either, or more) of these points^.