Comments (3)
As far as I can see findNumbers
is not part of the original javascript
package which is understandable because crawlers and parsers are backend-driven and are therefore written in CPP and Java.
https://github.com/googlei18n/libphonenumber/search?utf8=%E2%9C%93&q=findNumbers&type=
Though I used to code Java a lot in the past, I don't write any crawlers so I don't need that findNumbers
function, but if you do you can write it though I'm not sure right now if it's needed in this library.
Given that ES6 brings tree shaking it might not have any impact on other users, but I guess rather than depending on me to publish your code you would prefer instead publishing your code in your own package so that you could be in control if you know what I mean.
from libphonenumber-js.
Makes a lot of sense @halt-hammerzeit.
Are the any internal functions/regexes that this library could expose for me to build a package based on this one?
from libphonenumber-js.
If you happen to need any (in the final code) then leave a comment here and I'll export them.
Until you're ready to publish you can copy&paste them (i modified some of them a bit, btw).
Since you'll be migrating a Java version, I'd suppose you'd better stick with the original regexps since they're untouched.
from libphonenumber-js.
Related Issues (20)
- Missing area code 861 HOT 1
- ts(1479) error in index.d.cts HOT 3
- Unable to delete characters if there is a parenthesis HOT 1
- Any property returns area code? HOT 3
- Different Results |ย Real Life vs Demo HOT 2
- validatePhoneNumberLength does not return TOO_LONG for invalid Ukrainian phone number HOT 9
- Some North American countries receive incorrect National Format when removing digits
- Cuba added a new prefix 63 to phone number HOT 1
- New HK Hutchison telecom mobile number range not yet updated HOT 2
- Spain accepts 7 as a prefix for phone numbers HOT 1
- Unable to get Number Type of some numbers like Indian Mobile Numbers HOT 4
- Is this Error expected? HOT 5
- Missing dashes when using International format HOT 3
- Failed running script liphonenumber-generate-metadata HOT 1
- Find phone numbers in text doesn't work if fr and us are mixed HOT 1
- Find and replace in text problem
- +13107549 is somehow valid? HOT 2
- Country codes are missing 'AQ' (Antarctica) code HOT 1
- AsYouType doesn't work for "FR" and other countries. Only works for "US".
- deleted because no general issue with libphonenumber-js HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libphonenumber-js.