Giter VIP home page Giter VIP logo

Comments (5)

teddychan avatar teddychan commented on May 24, 2024

You may use other module, like country-data to convert those code to iso 3166 alpha3.

In addition, I guess the MCC list is NOT valid.
at least I found one problem:


"454": {
588     "full": "Hongkong, China",
589     "code": "hk",
590     "prefix": "+82"
591   },

HK prefix should be "+852"

from phone.

Natim avatar Natim commented on May 24, 2024

I didn't changed other data like country codes in my PR I've just added MCC_codes. Why would you force us to fork your project rather than contributing to it?

I am open to review but please don't close PRs like so until you've discussed it and people making it understood the reasons why you choose not to consider it.
It is an open source project isn't it? I spent a bunch of time doing it, I opened a ticket ways before the PR so you had time to discuss how you wanted the thing.

MCC are a standard for mobile phone numbers this PR only adds two useful features:

  • let the use make a use of the all iso database
  • let the user map phones with MCC

It didn't know country-database but why doesn't this project use country-database as a dependency rather than having a blob of json no-sql database at the beginning of the file ?

Don't worry if you don't have time for this just say it and don't worry anymore.

from phone.

teddychan avatar teddychan commented on May 24, 2024

Thanks for your contribution.
Let me think again if we should merge your code to our main branch.

from phone.

abhishiv avatar abhishiv commented on May 24, 2024

I think this would be great as well. Specially because I imagine in a lot of cases you have the numerical code rather than country abbreviation.

from phone.

Bossa573 avatar Bossa573 commented on May 24, 2024

MCC lookup should not be the purpose of this library, will close this issue

from phone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.