Open yentsun opened 5 years ago
@yentsun would you have any suggestions of such an alternative package? I'm quite interested primarily because I want something that is treeshakeable, as it stands importing country-data in a project creates a pretty hefty bundle (116 kb when a treeshakeable bundle could result in only getting <= 10 kb of country data).
Honestly the project doesn't seem too complicated. If there is nothing I may even create my own thing.
@Favna This https://www.npmjs.com/package/i18n-iso-countries. Probably an overkill as it provides country info in several languages but I use it on backend (no bundle) and its maintained well.
And you're right - a project like this could be done in a weekend if nothing else is suitable.
As I understand this package is not maintained anymore (and the author didn't care to find a new maintainer). Still the number of stars and npm downloads can trick a user to consider this to be a reliable library.
Its a good idea for the author to mark the package as 'deprecated' and recommend another (maintained) package instead.