cedvdb / dart_phone_metadata Goto Github PK
View Code? Open in Web Editor NEWdart phone number metadata converted to dart from libphonenumber
Home Page: https://pub.dev/packages/phone_number_metadata
License: MIT License
dart phone number metadata converted to dart from libphonenumber
Home Page: https://pub.dev/packages/phone_number_metadata
License: MIT License
Hi!
I discover the library and notice one small thing (I might be wrong).
It seems extendedMetadataByIsoCode
is a super set of lightMetadataByIsoCode
. And extendedMetadata
duplicate all the data from lightMetadata
.
I'm a bit worried that it is super easy to use both the LightParser and FullParser without noticing. So we will end up pulling both light and extended metadata. Thus, increasing the code size and the memory.
Is it possible to re-organise the metadata so the extendedMetadata only reference the added data. So there is no duplication?
const metaData = /* all shared data */
const extendedMetaData = /* only the extra info */
Hi, thanks for the package :)
I have kind request to update the metadata json - it's 8 months old and we got some new providers in Philippines that aren't supported by the current version.
Thank you!
Thanks!
Your parsed metadata does not include the following types of numbers:
The problem with this is that cedvdb/phone_numbers_parser isValid()
now returns false
for +1 800 432 1000
which is not true, that is a valid US Toll Free number.
Currently the metadata are updated manually.
It would be nice if someone could write a github action that would make this process automatic, once every month.
Currently the update steps for updating the metadata are a bit manual as opposed to run a simple script.
the steps are described in resources/readme. A better alternative would be to make an update.sh script that's a run and done thing so it's easier for people to contribute (and for this library to stay up to date with the latest metadata).
The update.sh script would:
remaining manual steps (or maybe could be automated):
The goal here is to reduce the friction as to reupdate the metadata in the future although it's arguably fine now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.