Open CamiloMM opened 9 years ago
Maxmind also provides small test databases.
That's neat, but they're still several megabytes in size (GeoIP2-City-Test.mmdb
is 19mb).
I think you are misreading the file size. That file is 19 kb in size.
You're right, I read "19.093 kb" as "19,093 kb". That size is perfectly fine to publish on NPM!
Please consider using .npmignore to exclude files when publishing to npm
Having such a huge-ass
.mmdb
file in the/test
dir bloats the package from < 300kb to > 29mb. That's over 10000% increase in size for something that virtually nobody will ever use.Please think of the children and download this file on-demand for tests (MaxMind doesn't change the URL so it would be easy).
Do you see that polar bear? He's sad because his rainforest is melting, his ozone layer is being fracked, he's almost ran out of Coca-Cola and his hard-drive is full of bloated NPM modules, and it's all your fault.
How can he save that naughty asian panda porn now? :( Please fix. For the pandas. For the future.