{"_id":"@ambassify/phonenumber","_rev":"6-3a1f319522235689da0e3f059fecf4be","name":"@ambassify/phonenumber","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@ambassify/phonenumber","version":"1.0.1","keywords":["phonenumber"],"author":{"name":"Ambassify","email":"dev@ambassify.com"},"license":"MIT","_id":"@ambassify/phonenumber@1.0.1","maintainers":[{"name":"ambassify","email":"dev@ambassify.com"}],"homepage":"https://github.com/ambassify/phonenumber#readme","bugs":{"url":"https://github.com/ambassify/phonenumber/issues"},"dist":{"shasum":"843ccbe6d515627c8af5405d944e3993237002aa","tarball":"https://registry.npmjs.org/@ambassify/phonenumber/-/phonenumber-1.0.1.tgz","integrity":"sha512-i075eNiwKeqn4cAdKdVUfQPCFDkcReqYsRersEyN0NT87oqVdOCc9RojEWIASdkhxqUSBZpqP2k2uGZ4gqh9Sg==","signatures":[{"sig":"MEUCIE9Hf6w9PKkePBqh5bXrb5VJFC6zlkJRRxudxJZ+9LkaAiEAl1Ye+jwauyTnZylDYUcizcU0Q3PRVpoT5gdm9UqXTCo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"6f970c56946ac3e8f701fb99beac15690c79fb0f","scripts":{"test":"eslint --fix . && node test"},"_npmUser":{"name":"ambassify","email":"dev@ambassify.com"},"repository":{"url":"git+https://github.com/ambassify/phonenumber.git","type":"git"},"_npmVersion":"5.6.0","description":"Phonenumber utilities","_nodeVersion":"8.9.4","dependencies":{"libphonenumber-js":"^1.0.7"},"devDependencies":{"eslint":"^4.16.0","eslint-config-ambassify":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/phonenumber-1.0.1.tgz_1517219113576_0.1950735857244581","host":"s3://npm-registry-packages"},"directories":{}},"1.0.2":{"name":"@ambassify/phonenumber","version":"1.0.2","keywords":["phonenumber"],"author":{"name":"Ambassify","email":"dev@ambassify.com"},"license":"MIT","_id":"@ambassify/phonenumber@1.0.2","maintainers":[{"name":"ambassify","email":"dev@ambassify.com"}],"homepage":"https://github.com/ambassify/phonenumber#readme","bugs":{"url":"https://github.com/ambassify/phonenumber/issues"},"dist":{"shasum":"39b11dd5229189061798b35a6cea4d227c45ac60","tarball":"https://registry.npmjs.org/@ambassify/phonenumber/-/phonenumber-1.0.2.tgz","integrity":"sha512-ZbPRqqn0pY/OXR7oEKU69cKfCX/sXsfuoCpg9KFX0vGBF3EytGyE8VsjTLy/R5dYhJyJFspqnacaYp7wNZgRLg==","signatures":[{"sig":"MEQCIFWPHQiAdoZsxKUoPmzOaaW3ggq7IzaYrBXDZ3zyCkBtAiA2LYAbM3ltCiG5c8XujktUtW3se7xRfxC/WI3Xw1REAw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"b29b0c91b57ee32271d7624cda9d9629dcfe5db3","scripts":{"test":"eslint --fix . && node test"},"_npmUser":{"name":"ambassify","email":"dev@ambassify.com"},"repository":{"url":"git+https://github.com/ambassify/phonenumber.git","type":"git"},"_npmVersion":"5.6.0","description":"Phonenumber utilities","_nodeVersion":"8.9.4","dependencies":{"libphonenumber-js":"^1.0.7"},"devDependencies":{"eslint":"^4.16.0","eslint-config-ambassify":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/phonenumber-1.0.2.tgz_1517219786569_0.8975754904095083","host":"s3://npm-registry-packages"},"directories":{}}},"time":{"created":"2018-01-26T15:24:28.219Z","modified":"2025-10-09T08:36:36.245Z","1.0.0":"2018-01-26T15:24:28.219Z","1.0.1":"2018-01-29T09:45:14.457Z","1.0.2":"2018-01-29T09:56:26.631Z"},"bugs":{"url":"https://github.com/ambassify/phonenumber/issues"},"author":{"name":"Ambassify","email":"dev@ambassify.com"},"license":"MIT","homepage":"https://github.com/ambassify/phonenumber#readme","keywords":["phonenumber"],"repository":{"url":"git+https://github.com/ambassify/phonenumber.git","type":"git"},"description":"Phonenumber utilities","maintainers":[{"email":"dev@ambassify.com","name":"ambassify-admin"}],"readme":"# @ambassify/phonenumber\n\nPhonenumber utilities.\n\n__Note__: At this moment, it is a wrapper around [libphonenumber-js](https://www.npmjs.com/package/libphonenumber-js). Why?\n\n- to make it easier to validate and normalize phonenumbers in the same way across our projects\n- to make it easier to migrate to a more compact package than libphonenumber-js in the future\n- because it would take too much time to create a more compact package at this time\n\n## `@ambassify/phonenumber/normalize`\n\nExports a normalize function. It takes one argument, the number to normalize, and returns a new normalized number if possible and `false` otherwise.\n\n## `@ambassify/phonenumber/validate`\n\nExports a validation function. It takes one argument, the number to validate, and returns a boolean that indicates whether or not the number is valid.\n","readmeFilename":"README.md"}