libphonenumber standalone (without masses of google dependencies)? Alternate lib?

前端 未结 4 1601
生来不讨喜
生来不讨喜 2020-12-23 14:02

I am looking at using http://code.google.com/p/libphonenumber/ for a well-established project. Today the project does not use Google\'s libraries for JavaScript, favoring jQ

4条回答
  •  爱一瞬间的悲伤
    2020-12-23 14:09

    Here are two implementations of Google libphonenumber in JavaScript that have zero dependencies and are implemented in a single file. I've used Nathan Hammond's version without issue but it is not on NPM. Rui Marinho's version is on NPM.

    • https://github.com/nathanhammond/libphonenumber
    • https://github.com/ruimarinho/google-libphonenumber

提交回复
热议问题