{"_id":"phone-regex","_rev":"15-d3056c21694dd142d5141fe29f963405","name":"phone-regex","description":"Regular expression for phone numbers.","dist-tags":{"latest":"2.1.0"},"versions":{"0.0.1":{"name":"phone-regex","version":"0.0.1","description":"Regular expression for phone numbers.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/johnotander/phone-regex.git"},"keywords":["phone","number","regex","phone-regex","phone-number"],"author":{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com/"},"license":"MIT","bugs":{"url":"https://github.com/johnotander/phone-regex/issues"},"homepage":"https://github.com/johnotander/phone-regex","devDependencies":{"mocha":"^2.0.1"},"gitHead":"e2891625eb476e6ea68ab647d0d5d1ebfadf7233","_id":"phone-regex@0.0.1","_shasum":"bd702067f31d7b46f37568736512f510bfcd3c71","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.33","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"dist":{"shasum":"bd702067f31d7b46f37568736512f510bfcd3c71","tarball":"https://registry.npmjs.org/phone-regex/-/phone-regex-0.0.1.tgz","integrity":"sha512-SUYQNtkD21LKXffWXEOMVm7RXDMBahtaZyt+zTyl8/JPZXqyppZkJL2YF8MNmV/JmGvAnGRM8e9wvUGcFO3sNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC9nt3Rj98Sx6Pw63j1Ivp3PWZxNn3BrqBZPLdIHIdioAiEAyxdREpaglI/XNY4doEg8YV+025ZBulRgWssi+XDMWko="}]}},"1.0.0":{"name":"phone-regex","version":"1.0.0","description":"Regular expression for phone numbers.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/johnotander/phone-regex.git"},"keywords":["phone","number","regex","phone-regex","phone-number"],"author":{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com/"},"license":"MIT","bugs":{"url":"https://github.com/johnotander/phone-regex/issues"},"homepage":"https://github.com/johnotander/phone-regex","devDependencies":{"mocha":"^2.0.1"},"gitHead":"8db2992214b0cfc1f71c2477f522356d30cfb9b3","_id":"phone-regex@1.0.0","_shasum":"a10594ca3c8107c335fc94ae31f9aca6f29576a3","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.30","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"dist":{"shasum":"a10594ca3c8107c335fc94ae31f9aca6f29576a3","tarball":"https://registry.npmjs.org/phone-regex/-/phone-regex-1.0.0.tgz","integrity":"sha512-NsFh+4HM06HkXHJmRVZHjr65ob2zuLDzosBZZg3Ybf6osAgem8cI9oTrAdqhYVLpT8I9KNPmr67khxq0ID/Xxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB0eK9ZB8YQT/gYvSlorkKPMqvtwzZCu9U45o9YRA9MZAiACeb1Luzi/z93Wyg19d8hDJtBi8dyjgPCxIx5mko3ecQ=="}]}},"2.0.0":{"name":"phone-regex","version":"2.0.0","description":"Regular expression for phone numbers.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/johnotander/phone-regex.git"},"keywords":["phone","number","regex","phone-regex","phone-number"],"author":{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com/"},"license":"MIT","bugs":{"url":"https://github.com/johnotander/phone-regex/issues"},"homepage":"https://github.com/johnotander/phone-regex","devDependencies":{"mocha":"^2.0.1"},"gitHead":"4d173af30d9c0fbff781ee3f31d660037c481364","_id":"phone-regex@2.0.0","_shasum":"dea1e4b3b874be96e0cf6446d11cd1f57b36bc16","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"dist":{"shasum":"dea1e4b3b874be96e0cf6446d11cd1f57b36bc16","tarball":"https://registry.npmjs.org/phone-regex/-/phone-regex-2.0.0.tgz","integrity":"sha512-SGDNxVu/a2lVX9FTPAByJDt8/N1N7XBmZdYrqWgXiWmBXL2+zHmIhVJ99TJBiUpKLzDKI4PVFBlEqvQtZB69nQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGydFjRCNM5/S/3GRvzQp87TRYn8NXWIR1P3NOdhAq2wAiEA/iJSDloi+IvzjHjrqZLBABDUDC7/FplCpBxaKEcY2JY="}]}},"2.1.0":{"name":"phone-regex","version":"2.1.0","description":"Regular expression for phone numbers.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/johnotander/phone-regex.git"},"keywords":["phone","number","regex","phone-regex","phone-number"],"author":{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com/"},"license":"MIT","bugs":{"url":"https://github.com/johnotander/phone-regex/issues"},"homepage":"https://github.com/johnotander/phone-regex","devDependencies":{"mocha":"^2.0.1"},"gitHead":"9fba65559c9dedd9ef4cc9b0cad5ffedc5160827","_id":"phone-regex@2.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"integrity":"sha512-9lXTghLpr/jU6Dx9JIacAUt3Hl7qVucW8+Iqwx99dvFSO9imlB2xvY6IyT6Sw554QTtHMnhvPUygGaN5k0pv9Q==","shasum":"255f9f8518f0196094ce21ba1dfe732277d20c0d","tarball":"https://registry.npmjs.org/phone-regex/-/phone-regex-2.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB4zDrQwno4GioolWIis3Kaz1/buycLwEOcrN4O+D37eAiEA9rZ4Cyp3CtP0zWiiK+1OPzM9Pa6AXY1F67HvP44X6gM="}]},"maintainers":[{"email":"mameto_100@mail.bg","name":"tunnckocore"},{"email":"johnotander@gmail.com","name":"johno"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/phone-regex-2.1.0.tgz_1506125121444_0.5448658766690642"}}},"readme":"# Phone Regex\n\n[![Build Status](https://travis-ci.org/regexps/phone-regex.svg?branch=master)](https://travis-ci.org/regexps/phone-regex)\n\nA regular expression for matching phone numbers.\n\n## Installation\n\n```\nnpm i --save phone-regex\n```\n\n## Usage\n\n```javascript\nvar phone = require('phone-regex');\n\n// Exact string option\nphone({ exact: true }).test('1234567890')       // => true\nphone({ exact: true }).test('apple 1234567890') // => false\n\n// Global option (default)\nphone().test('1234567890')       // => true\nphone().test('apple 1234567890') // => true\nphone().test('apple')            // => false\n\n// Indian option\nphone({ indian: true }).test('mango 9744142626')              // => true\nphone({ indian: true }).test('mango 1234567890')              // => false\nphone({ indian: true, exact: true }).test('mango 9744142626') // => false\n```\n\n## Acknowledgements\n\n* Regex from <http://stackoverflow.com/a/16702965/1378668>.\n\n## License\n\nMIT\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nCrafted with <3 by [John Otander](http://johnotander.com).\nSupport for Indian Numbers added by [Livin Mathew](https://github.com/Livin21).","maintainers":[{"email":"johnotander@gmail.com","name":"johno"},{"email":"mameto2011@gmail.com","name":"tunnckocore"}],"time":{"modified":"2022-06-23T21:23:07.544Z","created":"2014-11-26T06:09:50.832Z","0.0.1":"2014-11-26T06:09:50.832Z","1.0.0":"2014-12-29T21:22:12.220Z","2.0.0":"2015-01-24T18:45:25.807Z","2.1.0":"2017-09-23T00:05:22.372Z"},"homepage":"https://github.com/johnotander/phone-regex","keywords":["phone","number","regex","phone-regex","phone-number"],"repository":{"type":"git","url":"git+https://github.com/johnotander/phone-regex.git"},"author":{"name":"John Otander","email":"johnotander@gmail.com","url":"http://johnotander.com/"},"bugs":{"url":"https://github.com/johnotander/phone-regex/issues"},"license":"MIT","readmeFilename":"README.md","users":{"hengkiardo":true}}