rxaviers / cldr-data-npm

Npm module for Unicode CLDR JSON data
MIT License
42 stars 27 forks source link

Filter installed locales #57

Closed vincent-tr closed 6 years ago

vincent-tr commented 6 years ago

Hi,

When I install cldr-data, the node_modules/cldr-data folder is about 260Mb. It seems that it is split into a huge number of locales, and each locale folder is around 900kb.

I only want to support a few locales in my project. Is there any way to filter locales and only get a few on install ?

Thanks

rxaviers commented 6 years ago

The two "cldr-data-coverage" options are "modern" and "full". This is a direct mapping with that CLDR offers...