{"_id":"node-phonenumber","_rev":"26-b9b8c66744ae6fc6e8016b3a2df0a42f","name":"node-phonenumber","description":"Google's phone number handling library ported to Node","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"author":{"name":"Azri Jamil","email":"azri@nematix.com"},"name":"node-phonenumber","description":"Google's phone number handling library ported to Node","version":"0.1.0","main":"lib/index.js","directories":{"lib":"lib","test":"test"},"homepage":"http://code.google.com/p/libphonenumber/","keywords":["libphonenumber","phonenumber","phone","number","e164","standardize","international"],"repository":{"type":"git","url":"https://github.com/wajatimur/node-phonenumber.git"},"engines":{"node":">= 0.6"},"dependencies":{"closure":"1.0.2"},"devDependencies":{"mocha":"1.x"},"scripts":{"test":"mocha"},"bugs":{"url":"https://github.com/wajatimur/node-phonenumber/issues"},"_id":"node-phonenumber@0.1.0","dist":{"shasum":"7ae21cf9a4bb0ef15a0ba602d21f326f86bd6e8c","tarball":"https://registry.npmjs.org/node-phonenumber/-/node-phonenumber-0.1.0.tgz","integrity":"sha512-WuTn2N9rK/QFKSRQ0pfyE4toYAyT9QzSQvjGNIYpxaRR1LPTXD7gt0i/U1/GyHFHIXnOLi7XfHg+zsOkiULTjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnc/l3vgOqCfj1goOeldFvAtKy7UhOXr1tUwBD5tfJOgIgCmOgxbe6yUU9urB4svaur24a11L0GRyPGslgu5x9s8o="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"azrijamil","email":"azri@nematix.com"},"maintainers":[{"name":"azrijamil","email":"azri@nematix.com"}]},"0.1.1":{"author":{"name":"Azri Jamil","email":"azri@nematix.com"},"name":"node-phonenumber","description":"Google's phone number handling library ported to Node","version":"0.1.1","main":"lib/index.js","directories":{"lib":"lib","test":"test"},"homepage":"http://code.google.com/p/libphonenumber/","keywords":["libphonenumber","phonenumber","phone","number","e164","standardize","international"],"repository":{"type":"git","url":"https://github.com/wajatimur/node-phonenumber.git"},"engines":{"node":">= 0.6"},"dependencies":{"closure":"1.0.3"},"bugs":{"url":"https://github.com/wajatimur/node-phonenumber/issues"},"_id":"node-phonenumber@0.1.1","dist":{"shasum":"c3a1becec0999554838e8c53dcf448a777385069","tarball":"https://registry.npmjs.org/node-phonenumber/-/node-phonenumber-0.1.1.tgz","integrity":"sha512-9IwYdqUalncQlQcL9DALdgZUTi+NdeCPS+reB+l0kZIA8/7pSwk1iin9FZA2jpOHjUHKSl6O0duGr+cf0pdLPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHOjaQwX9Rv851ogltNw7Jp6046bZWxMLxDuXwow3bzdAiBGqzwLd3SMHBq+phqNGF6aH1+srKuondfbprYXMgeWvQ=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"azrijamil","email":"azri@nematix.com"},"maintainers":[{"name":"azrijamil","email":"azri@nematix.com"}]},"0.1.2":{"author":{"name":"Azri Jamil","email":"azri@nematix.com"},"name":"node-phonenumber","description":"Google's phone number handling library ported to Node","version":"0.1.2","main":"lib/index.js","directories":{"lib":"lib"},"homepage":"http://code.google.com/p/libphonenumber/","keywords":["libphonenumber","phonenumber","phone","number","e164","standardize","international"],"repository":{"type":"git","url":"https://github.com/wajatimur/node-phonenumber.git"},"engines":{"node":">= 0.6"},"dependencies":{"closure":"1.0.3"},"bugs":{"url":"https://github.com/wajatimur/node-phonenumber/issues"},"_id":"node-phonenumber@0.1.2","dist":{"shasum":"41f12ca1d4f7739a123c52c3969aa607af5882dd","tarball":"https://registry.npmjs.org/node-phonenumber/-/node-phonenumber-0.1.2.tgz","integrity":"sha512-XKTvkI5Bb0sF+xq6Io/Xs0F9pj1pMx5vAUhIO6HCEBEx5NdInM7JaBaraekj1Iu8/nULB5Uy5E2U1FTaGoG1tw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4YI0UaWn9krS6kQbewj3zgYcWUvsyDCfxBUlTIc7m/AIhAL70qJk5i+QuaYCYm9P59vXhrXSySM4ITo4Z8g4SLkuK"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"azrijamil","email":"azri@nematix.com"},"maintainers":[{"name":"azrijamil","email":"azri@nematix.com"}]},"0.2.0":{"author":{"name":"Azri Jamil","email":"azri@nematix.com"},"name":"node-phonenumber","description":"Google's phone number handling library ported to Node","version":"0.2.0","main":"lib/index.js","directories":{"lib":"lib"},"homepage":"http://code.google.com/p/libphonenumber/","keywords":["libphonenumber","phonenumber","phone","number","e164","standardize","international"],"repository":{"type":"git","url":"https://github.com/wajatimur/node-phonenumber.git"},"engines":{"node":">= 0.6"},"dependencies":{"closure":"1.0.3"},"bugs":{"url":"https://github.com/wajatimur/node-phonenumber/issues"},"devDependencies":{"chai":"^2.1.1","mocha":"^2.2.1"},"scripts":{"test":"make test"},"gitHead":"a96ba447f1bb65996e594ad728d81259e9058a08","_id":"node-phonenumber@0.2.0","_shasum":"2e88eb1d03078bb82eb50b3cb2a0f4605e604aea","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"azrijamil","email":"azri@nematix.com"},"maintainers":[{"name":"azrijamil","email":"azri@nematix.com"}],"dist":{"shasum":"2e88eb1d03078bb82eb50b3cb2a0f4605e604aea","tarball":"https://registry.npmjs.org/node-phonenumber/-/node-phonenumber-0.2.0.tgz","integrity":"sha512-XCDM4sA8ziTRytxSF/tjR15i2CfWjmt2r05ey0/G0GzfcXKWt0vhq9SmXJCIzBXJccQSCq4NODi5V6Z3JhlwBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEA+ORVdW3K9INWf7Ds4Sd6le/iWleP86rpTFRK63eaQIhAJN/H62AmLME/Fr58S0hJfRo19xYWCDwObQXebaaolPm"}]}},"0.2.1":{"author":{"name":"Azri Jamil","email":"azri@nematix.com"},"name":"node-phonenumber","description":"Google's phone number handling library ported to Node","version":"0.2.1","main":"lib/index.js","directories":{"lib":"lib"},"homepage":"http://code.google.com/p/libphonenumber/","keywords":["libphonenumber","phonenumber","phone","number","e164","standardize","international"],"repository":{"type":"git","url":"https://github.com/wajatimur/node-phonenumber.git"},"engines":{"node":">= 0.10"},"dependencies":{"closure":"1.0.3"},"bugs":{"url":"https://github.com/wajatimur/node-phonenumber/issues"},"devDependencies":{"chai":"^2.1.1","mocha":"^2.2.1"},"scripts":{"test":"make test"},"gitHead":"0f94323318b7f1e5ca8750cb89bb7c9ad9e907b2","_id":"node-phonenumber@0.2.1","_shasum":"cdd141d082f4d3046f28e5b522db4107fdf0f6ab","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"azrijamil","email":"azri@nematix.com"},"maintainers":[{"name":"azrijamil","email":"azri@nematix.com"}],"dist":{"shasum":"cdd141d082f4d3046f28e5b522db4107fdf0f6ab","tarball":"https://registry.npmjs.org/node-phonenumber/-/node-phonenumber-0.2.1.tgz","integrity":"sha512-p+NuK2CI5ulsnhPmQDzuGWULQF2XcOTyhys8GmSUL+DZ1P5Wh/EdVZAlRxYiJ2mc3rTyB/gg9TZJiy8txRgnQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBf2CcC85FXnTRJqXHadGps7gRDwdz4xcPamRs6okc0DAiAUyyJI9HrzC/70ErJg8yX3o9PkA/fXcRnCtVxDdLGxXg=="}]}},"0.2.2":{"author":{"name":"Azri Jamil","email":"azri@nematix.com"},"name":"node-phonenumber","description":"Google's phone number handling library ported to Node","version":"0.2.2","main":"lib/index.js","directories":{"lib":"lib"},"homepage":"http://code.google.com/p/libphonenumber/","keywords":["libphonenumber","phonenumber","phone","number","e164","standardize","international"],"repository":{"type":"git","url":"https://github.com/wajatimur/node-phonenumber.git"},"engines":{"node":">= 0.10"},"dependencies":{"closure":"1.0.3"},"bugs":{"url":"https://github.com/wajatimur/node-phonenumber/issues"},"devDependencies":{"chai":"^2.1.1","mocha":"^2.2.1"},"scripts":{"test":"make test"},"gitHead":"c8d15a5f4da88a1487153c42fa4adb52e8e327f7","_id":"node-phonenumber@0.2.2","_shasum":"8b875446e785692820a14d4ab273605b2b06eaf9","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"azrijamil","email":"azri@nematix.com"},"maintainers":[{"name":"azrijamil","email":"azri@nematix.com"}],"dist":{"shasum":"8b875446e785692820a14d4ab273605b2b06eaf9","tarball":"https://registry.npmjs.org/node-phonenumber/-/node-phonenumber-0.2.2.tgz","integrity":"sha512-Jz2Zc39aX9FZIeNUiSRZeC2XPLnfRBW9DrVmvUEGq+oayXRXKshueYPmT1/Nruz+03u52dKuqJ/s+zvn1MrE5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA42JAreue9qtt912UKpYX3L2qXadCWDDALor7lFt5RxAiAb9FGDCfSKgW44os49Ot4Qngl0ABeR6gBJaAaJLqk0sA=="}]}},"0.2.3":{"author":{"name":"Azri Jamil","email":"azri@nematix.com"},"name":"node-phonenumber","description":"Google's phone number handling library ported to Node","version":"0.2.3","main":"lib/index.js","directories":{"lib":"lib"},"homepage":"http://code.google.com/p/libphonenumber/","keywords":["libphonenumber","phonenumber","phone","number","e164","standardize","international"],"repository":{"type":"git","url":"git+https://github.com/wajatimur/node-phonenumber.git"},"engines":{"node":">= 0.10"},"dependencies":{"closure":"1.0.3"},"bugs":{"url":"https://github.com/wajatimur/node-phonenumber/issues"},"devDependencies":{"chai":"^2.1.1","mocha":"^2.2.1"},"scripts":{"test":"make test"},"gitHead":"2e4efc59f8c5738db06091ab47be427e36fa6bfa","_id":"node-phonenumber@0.2.3","_shasum":"6cc2fa389ad1b08b04a9dbe28de36881122a5af5","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"azrijamil","email":"azri@nematix.com"},"maintainers":[{"name":"azrijamil","email":"azri@nematix.com"}],"dist":{"shasum":"6cc2fa389ad1b08b04a9dbe28de36881122a5af5","tarball":"https://registry.npmjs.org/node-phonenumber/-/node-phonenumber-0.2.3.tgz","integrity":"sha512-tbJJrdBXSvSHlb2UI/sMKGsRybki/b8JidmTREinCwKfryLacpZKNhANl2pXaSlx1joyVhGjsFc6MvG52hDLvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAqe1Le3GBS2BfpqT/YcLrc7Le8ungqZH1wl+VeIweAeAiEA0JVKsncRhwVfzdbwCDKqrmv+R1bVEkw8h9Tiar81Io8="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-phonenumber-0.2.3.tgz_1462198794794_0.8807432239409536"}},"0.2.4":{"author":{"name":"Azri Jamil","email":"azri@nematix.com"},"name":"node-phonenumber","description":"Google's phone number handling library ported to Node","version":"0.2.4","main":"lib/index.js","directories":{"lib":"lib"},"homepage":"http://code.google.com/p/libphonenumber/","keywords":["libphonenumber","phonenumber","phone","number","e164","standardize","international"],"repository":{"type":"git","url":"git+https://github.com/wajatimur/node-phonenumber.git"},"engines":{"node":">= 0.10"},"dependencies":{"closure":"1.0.3"},"bugs":{"url":"https://github.com/wajatimur/node-phonenumber/issues"},"devDependencies":{"chai":"^2.3.0","mocha":"^2.5.3"},"scripts":{"test":"make test"},"gitHead":"1d97ac6d7b4f8d1b98e747deb26e244bbf2a33a3","_id":"node-phonenumber@0.2.4","_shasum":"a7721973df939675f1d8b3feb5758f5b4faeebbc","_from":".","_npmVersion":"3.10.6","_nodeVersion":"5.12.0","_npmUser":{"name":"azrijamil","email":"azri@nematix.com"},"maintainers":[{"name":"azrijamil","email":"azri@nematix.com"}],"dist":{"shasum":"a7721973df939675f1d8b3feb5758f5b4faeebbc","tarball":"https://registry.npmjs.org/node-phonenumber/-/node-phonenumber-0.2.4.tgz","integrity":"sha512-pHshi5x2i0fjxts+4DWiWMBJ0oPSffkGWbRDajcU2G96QFtm7B7U0N8SCAzfJrONt+EvPEbSvac7YYnUejT5Iw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoygltNzAj5HEkvF5MLWqf7F9NStVZHIgx2UlaYtqKjQIhALSXpQD4cGhXTUm0ZodtdTQIWaFqxLbc68SaL30oTq8F"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-phonenumber-0.2.4.tgz_1473259729338_0.9429742794018239"}},"0.3.0":{"author":{"name":"Azri Jamil","email":"azri@nematix.com"},"name":"node-phonenumber","description":"Google's phone number handling library ported to Node","version":"0.3.0","main":"lib/index.js","directories":{"lib":"lib"},"homepage":"http://code.google.com/p/libphonenumber/","keywords":["libphonenumber","phonenumber","phone","number","e164","standardize","international"],"repository":{"type":"git","url":"git+https://github.com/wajatimur/node-phonenumber.git"},"engines":{"node":">= 0.10"},"dependencies":{"closure":"1.0.3"},"bugs":{"url":"https://github.com/wajatimur/node-phonenumber/issues"},"devDependencies":{"chai":"^2.3.0","mocha":"^2.5.3"},"scripts":{"test":"make test"},"gitHead":"286ea9846900e14a775008b64e50e59720ab80bd","_id":"node-phonenumber@0.3.0","_npmVersion":"5.3.0","_nodeVersion":"5.12.0","_npmUser":{"name":"azrijamil","email":"azri@nematix.com"},"maintainers":[{"name":"azrijamil","email":"azri@nematix.com"}],"dist":{"integrity":"sha512-gfC8APPEuzc4iPnjczj/JgcgDznn/BQmTsKCJvA9X0NBbehJ/eNF9nR9PyfPVfl3yCPkhCG2RGftiq3IDkFMpg==","shasum":"7f79f737e0485a889f4af40baea6b538948290f4","tarball":"https://registry.npmjs.org/node-phonenumber/-/node-phonenumber-0.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvuwdoSwTjnzxy6iVqQeYmlWJmt+0Uxe5+zTkvjmJTmwIgZGAVk4D9ZV0WFIaVvUhTE+xSGf7SAI7YeNiW3BKJ5qA="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-phonenumber-0.3.0.tgz_1500602503586_0.07463646796531975"}},"1.0.0":{"author":{"name":"Azri Jamil","email":"azri@nematix.com"},"name":"node-phonenumber","description":"Google's phone number handling library ported to Node","version":"1.0.0","main":"lib/index.js","directories":{"lib":"lib"},"homepage":"http://code.google.com/p/libphonenumber/","keywords":["libphonenumber","phonenumber","phone","number","e164","standardize","international"],"repository":{"type":"git","url":"git+https://github.com/wajatimur/node-phonenumber.git"},"engines":{"node":">= 0.10"},"dependencies":{"closure":"1.0.3"},"bugs":{"url":"https://github.com/wajatimur/node-phonenumber/issues"},"devDependencies":{"chai":"^2.3.0","mocha":"^2.5.3"},"scripts":{"test":"mocha"},"gitHead":"d283bbd9a96f4cc209a24a7fa46c869a54b95f4d","_id":"node-phonenumber@1.0.0","_shasum":"eb55c5d7d4a35d37d784d3c9180d519ac9ded720","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.0","_npmUser":{"name":"azrijamil","email":"azri@nematix.com"},"dist":{"shasum":"eb55c5d7d4a35d37d784d3c9180d519ac9ded720","tarball":"https://registry.npmjs.org/node-phonenumber/-/node-phonenumber-1.0.0.tgz","integrity":"sha512-PWRB861t+uI5FWLkpxCULmPQQH6uCh62GG6h5qMnlYleDj2PXIwGdv7QwIiX77AM0nqNImW2V7CIw2dOHYBl6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDQhibkdOZWHneSEQQVLFSEuLqSSywXJwxJg/ZFV09yDAiEAjdIha8SiQoX0q/l/fFAUq9k9jy1uKPka1tzI1q7ubiE="}]},"maintainers":[{"name":"azrijamil","email":"azri@nematix.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-phonenumber-1.0.0.tgz_1513960468214_0.8511592380236834"}}},"readme":"# node-phonenumber [![Build Status](https://travis-ci.org/wajatimur/node-phonenumber.png?branch=master)](https://travis-ci.org/wajatimur/node-phonenumber)\r\n\r\n[![NPM](https://nodei.co/npm/node-phonenumber.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/node-phonenumber/)\r\n\r\nNodeJS port of Google's libPhoneNumber\r\n\r\n## Installation\r\n\r\n    npm install node-phonenumber --save\r\n\r\n## Example Usage\r\n```javascript\r\nvar phone = require('node-phonenumber')\r\n\r\nvar phoneUtil = phone.PhoneNumberUtil.getInstance();\r\nvar phoneNumber = phoneUtil.parse('0139348815','MY');\r\nvar toNumber = phoneUtil.format(phoneNumber, phone.PhoneNumberFormat.INTERNATIONAL);\r\n\r\nconsole.log(toNumber);\r\n\r\n$ +60 13-934 8815\r\n```\r\n\r\n## Testing\r\n\r\n    npm test\r\n\r\nTest will be run to verify the phone number format of MY country, test for another\r\ncountries are welcome. Please see the test file in `test\\index.js` and insert below\r\ncode as example.\r\n\r\n    it('parse XX phone number format', function(){\r\n        var phone_xx = phone_util.parse('012345678','XX');\r\n        phone_util.format(phone_xx, phone.PhoneNumberFormat.INTERNATIONAL).should.equal('+10 12345678');\r\n    });\r\n\r\n## Author & Credits\r\n* Original Author - https://github.com/mattbornski\r\n\r\n## License\r\nCopyright(c) 2013-2016 Azri Jamil\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n   http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","maintainers":[{"name":"azrijamil","email":"azri@nematix.com"}],"time":{"modified":"2022-06-21T18:01:41.268Z","created":"2013-10-14T17:55:35.393Z","0.1.0":"2013-10-14T17:56:26.935Z","0.1.1":"2014-02-08T17:41:50.668Z","0.1.2":"2014-07-11T00:58:18.880Z","0.2.0":"2015-03-09T17:15:13.388Z","0.2.1":"2015-03-09T17:23:46.967Z","0.2.2":"2015-07-06T22:46:59.071Z","0.2.3":"2016-05-02T14:19:55.340Z","0.2.4":"2016-09-07T14:48:49.672Z","0.3.0":"2017-07-21T02:01:45.050Z","1.0.0":"2017-12-22T16:34:28.971Z"},"author":{"name":"Azri Jamil","email":"azri@nematix.com"},"repository":{"type":"git","url":"git+https://github.com/wajatimur/node-phonenumber.git"},"readmeFilename":"README.md","homepage":"http://code.google.com/p/libphonenumber/","keywords":["libphonenumber","phonenumber","phone","number","e164","standardize","international"],"bugs":{"url":"https://github.com/wajatimur/node-phonenumber/issues"},"users":{"zevmo":true,"benstr":true,"azrijamil":true,"codengamer":true}}