Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Simplified data #23

Open
LKay opened this issue Dec 2, 2024 · 0 comments
Open

[Suggestion] Simplified data #23

LKay opened this issue Dec 2, 2024 · 0 comments

Comments

@LKay
Copy link

LKay commented Dec 2, 2024

Currently the module returns complete data based on countries.json, but often the flags or countries names are not necessary.

For the purpose of smaller footprint , would it be possible to export a data ie.:

import minData from 'countries-phone-masks/min'

That would only contain:

interface CountryMin {
  code: string;
  iso: string;
  mask: string;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant