Re:Google's phone number handling library
by umanwizard on Saturday November 08, 2014 @12:17AM
(#8576108)
Looks awesome; will consider using this in the future.
One note: it would be nice if you explicitly stated, in the LICENSE file or the readme, that this is under the MIT license. It'd make it easier to use this at companies (like mine) where open source packages can only be used if their license is on a legal-department-approved whitelist.
What other licenses are usually on that list?
Re:Google's phone number handling library
by jackocnr on Saturday November 08, 2014 @11:29PM
(#8579109)
Done.
Re:Google's phone number handling library
by jypepin on Friday November 07, 2014 @09:19PM
(#8575764)
I did phone numbers validation in the front end, and I yes the expected couple hours ended up being multiple days of works and I ended up using google's validator!
thanks for the jquery plugin, I'll definitely keep it in mind!
Re:Google's phone number handling library
by ceejayoz on Friday November 07, 2014 @07:11PM
(#8575368)
That looks amazing.
Re:Google's phone number handling library
by thesumofall on Friday November 07, 2014 @07:28PM
(#8575440)
Exactly what I was looking for! Thanks!
Re:Google's phone number handling library
by XtianThrowaway on Saturday November 08, 2014 @03:30AM
(#8576356)
Please make this a node package at some point.
Re:Google's phone number handling library
by ruimarinho on Wednesday November 12, 2014 @02:44PM
(#8597688)
I have created a node package a couple of months ago which I regularly keep up-to-date with the latest upstream changes. It exports everything that the javascript version of libphonenumber offers. You can check it at http://seegno.github.io/google-libphonenumber/.
A word of warning: if you ever set out to handle international numbers in a web frontend - you may think "it can't be that hard - maybe take me a couple of hours" (like me), then do yourself a favour and save yourself a week of unexpected work and use the jQuery plugin that I ended up creating (I don't understand why this didn't already exist) which uses libphonenumber for all the magic: https://github.com/Bluefieldscom/intl-tel-input. Hope it saves you some time.