{"_id":"angular-libphonenumber","_rev":"4-19d18a936c88ff6c14a2eae1ef9e9ed2","name":"angular-libphonenumber","description":"Nathan Hammond's libphonenumber ported to an angular filter","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"angular-libphonenumber","version":"1.0.0","description":"Nathan Hammond's libphonenumber ported to an angular filter","main":"dist/angular-libphonenumber.min.js","repository":{"type":"git","url":"git+https://github.com/cwill747/angular-libphonenumber.git"},"homepage":"https://github.com/cwill747/angular-libphonenumber","scripts":{"test":"gulp test"},"keywords":["input","mask","angularjs","phone"],"author":{"name":"Cameron Will","email":"scwill@us.ibm.com"},"license":"Apache-2.0","dependencies":{},"devDependencies":{"event-stream":"3.3.0","express":"4.12.3","gulp":"3.8.11","gulp-bump":"^1.0.0","gulp-changed":"1.2.1","gulp-concat":"2.5.2","gulp-exit":"0.0.2","gulp-filter":"^3.0.1","gulp-footer":"1.0.5","gulp-git":"^1.6.0","gulp-header":"1.2.2","gulp-jscs":"1.6.0","gulp-jscs-stylish":"1.1.0","gulp-jshint":"1.10.0","gulp-load-plugins":"0.10.0","gulp-protractor":"1.0.0","gulp-tag-version":"^1.3.0","gulp-uglify":"1.2.0","jasmine-core":"2.2.0","jshint-stylish":"1.0.1","karma":"0.12.31","karma-chrome-launcher":"0.1.8","karma-coverage":"0.2.7","karma-coveralls":"0.1.5","karma-jasmine":"0.3.5","protractor":"1.0.0","requirejs":"2.1.17","string-mask":"0.2.0"},"gitHead":"bf0fd3b72c418d02ed697144e8190b46b16fef83","bugs":{"url":"https://github.com/cwill747/angular-libphonenumber/issues"},"_id":"angular-libphonenumber@1.0.0","_shasum":"564e09f086c5f1c53405b0e4167f02fbf15dd64c","_from":".","_npmVersion":"2.14.22","_nodeVersion":"4.3.2","_npmUser":{"name":"cwill747","email":"cwill747@gmail.com"},"dist":{"shasum":"564e09f086c5f1c53405b0e4167f02fbf15dd64c","tarball":"https://registry.npmjs.org/angular-libphonenumber/-/angular-libphonenumber-1.0.0.tgz","integrity":"sha512-l2pIGhmIY4HMLKD2ehHnpGlTbCOgdwTg7f50/gMIR+MJG4LOPJUen2iwtXLy3PuqZB8ekB8YPpY8qYbgHVmxfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChrZpzPoJG82YT/uRQUTQlQ0tSo+JYfLliiUOmb0Li/QIgQskJ4paOxkmHolwp4fvLKbfryoDtozsH7f7W408686U="}]},"maintainers":[{"name":"cwill747","email":"cwill747@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/angular-libphonenumber-1.0.0.tgz_1458250861342_0.29085688223131"}},"1.1.0":{"name":"angular-libphonenumber","version":"1.1.0","description":"Nathan Hammond's libphonenumber ported to an angular filter","main":"dist/angular-libphonenumber.min.js","repository":{"type":"git","url":"git+https://github.com/cwill747/angular-libphonenumber.git"},"homepage":"https://github.com/cwill747/angular-libphonenumber","scripts":{"test":"gulp test"},"keywords":["input","mask","angularjs","phone"],"author":{"name":"Cameron Will","email":"scwill@us.ibm.com"},"license":"Apache-2.0","dependencies":{},"devDependencies":{"event-stream":"3.3.0","express":"4.12.3","gulp":"^3.9.1","gulp-bump":"^2.0.1","gulp-changed":"1.2.1","gulp-concat":"^2.6.0","gulp-exit":"0.0.2","gulp-filter":"^3.0.1","gulp-footer":"1.0.5","gulp-git":"^1.6.0","gulp-header":"1.2.2","gulp-jscs":"^3.0.2","gulp-jscs-stylish":"1.1.0","gulp-jshint":"1.10.0","gulp-load-plugins":"0.10.0","gulp-protractor":"^2.2.0","gulp-tag-version":"^1.3.0","gulp-uglify":"^1.5.3","jasmine-core":"2.2.0","jshint-stylish":"1.0.1","karma":"0.12.31","karma-chrome-launcher":"^0.2.2","karma-coverage":"0.2.7","karma-coveralls":"0.1.5","karma-jasmine":"0.3.5","protractor":"^3.2.0","requirejs":"2.1.17","string-mask":"0.2.0"},"gitHead":"61c94e6f970dc7b91a3feabb7614e40ef0e65713","bugs":{"url":"https://github.com/cwill747/angular-libphonenumber/issues"},"_id":"angular-libphonenumber@1.1.0","_shasum":"3b3b417db000f939a2df5a5174ea670e729c9bcc","_from":".","_npmVersion":"2.14.22","_nodeVersion":"4.3.2","_npmUser":{"name":"cwill747","email":"cwill747@gmail.com"},"dist":{"shasum":"3b3b417db000f939a2df5a5174ea670e729c9bcc","tarball":"https://registry.npmjs.org/angular-libphonenumber/-/angular-libphonenumber-1.1.0.tgz","integrity":"sha512-ii64m5o/8LUxuKFo7YF46U9RW70W7NLIhsEiTktmAUCT0Ude6P1QQDtgUBND2wE8i8Qbt4eWsZCBpAAKEV6juA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1jXkxKkMzXdJRPh0ugVREAdgxAoTWuKa4k0Psc1zf+AIhAKPotNxszXTgWu756kqD0OJI5gW1gDfuCjzmUSsGVf8P"}]},"maintainers":[{"name":"cwill747","email":"cwill747@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/angular-libphonenumber-1.1.0.tgz_1458312979015_0.25319934892468154"}}},"readme":"# angular-libphonenumber - [AngularJS](http://angularjs.org/) input masks for phone numbers\n\n\n| Info          | Badges        |\n| ------------- | ------------- |\n| Version       | [![Bower version][bower-image]][bower-url] [![NPM version][npm-image]][npm-url]  |\n| License  | [![Apache license][license-image]][license-url]  |\n| Testing  | [![Build Status][build-image]][build-url] [![Coverage Status][coverage-image]][coverage-url] |\n| Quality |  [![Dependencies status][dep-status-image]][dep-status-url]  [![Code Climate][code-climate-image]][code-climate-url] |\n\n\n## Description\nangular-libphonenumber is an angular directive that can be used as an input mask.\nBy default, all numbers are formatted in US format, but the format can be set with\nthe `country-code` descriptor. It uses\n[nathanhammond/libphonenumber](https://github.com/nathanhammond/libphonenumber) as a formatter\nfor phone number's, which calls\n[Google's libphonenumber](https://github.com/googlei18n/libphonenumber)\nto format numbers as you type them.\n\nView a [demo here](https://run.plnkr.co/plunks/k32xZLSRS47w6TW3auAF/)\n\n## Installation\nUsing [Bower](http://bower.io/):\n\n```\nbower install --save angular-libphonenumber\n```\n\nYou then must decide what version of libphonenumber you want. There are two included, and you must\ninclude _one_ of them in your application *before* angular-libphonenumber:\n- dist/libphonenumber.js - only includes the libphonenumber code needed for typeahead to work\n- dist/libphonenumber.full.js - includes all libphonenumber functionality _including_ typeahead\n\n```html\n<!-- Use either -->\n<script src=\"./<path_to_bower_components>/angular-libphonenumber/dist/libphonenumber.full.js\" />\n<!-- OR -->\n<script src=\"./<path_to_bower_components>/angular-libphonenumber/dist/libphonenumber.js\" />\n<!-- THEN -->\n<script src=\"./<path_to_bower_components>/angular-libphonenumber/dist/angular-libphonenumber.min.js\" />\n```\n\nThen include it in your angular application:\n```javascript\nangular.module('myModule', ['cwill747.phonenumber']);\n```\n\n## How to Use\n\n- You need to get the user's country code from somewhere. Where you do that is up to you (setting,\nlocal storage, angular-translate, or just another input box):\n\n```html\n<input type=\"text\" ng-model=\"countrycode\" />\n```\n\n- Then you just apply the input mask to any input box:\n\n```html\n<input type=\"text\" ng-model=\"phoneNumber\" phone-number country-code=\"countrycode\" />\n```\n\n## Support\nIf you are having any questions or issues getting things to work, you can:\n\n* Ask a question in [stackoverflow](http://stackoverflow.com/) under the [angular-libphonenumber](http://stackoverflow.com/questions/tagged/angular-libphonenumber) tag.\n\nProject's issue on GitHub should be used discuss bugs and features.\n\n## Contributing to the project\n\nWe welcome any contributions to the project. Please check the [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines.\n\nCheck out our contributors [here](https://github.com/cwill747/angular-libphonenumber/graphs/contributors)\n\n### Development\n#### Prepare your environment\n* Install [Node.js](http://nodejs.org/) and NPM (should come with)\n* Install global dev dependencies: `npm install -g gulp karma`\n* Install local dev dependencies: `npm install` while current directory is angular-libphonenumber repo\n\n#### Build\n* Build the whole project: `gulp` - this will run `jshint`, `test`, and `build` targets\n\n### Release\n* Use GitHub's release tool to draft and publish a release. I like the format better than\nchangelogs.\n\n\n[bower-image]: https://img.shields.io/bower/v/angular-libphonenumber.svg?style=flat-square\n[bower-url]: http://bower.io/search/?q=angular-libphonenumber\n[npm-image]: https://img.shields.io/npm/v/angular-libphonenumber.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/angular-libphonenumber\n[build-image]: http://img.shields.io/travis/cwill747/angular-libphonenumber.svg?style=flat-square\n[build-url]: https://travis-ci.org/cwill747/angular-libphonenumber\n[dep-status-image]: https://img.shields.io/david/cwill747/angular-libphonenumber.svg?style=flat-square\n[dep-status-url]: https://david-dm.org/cwill747/angular-libphonenumber\n[coverage-image]: https://img.shields.io/coveralls/cwill747/angular-libphonenumber.svg?style=flat-square\n[coverage-url]: https://coveralls.io/r/cwill747/angular-libphonenumber?branch=master\n[code-climate-image]: https://img.shields.io/codeclimate/github/cwill747/angular-libphonenumber.svg?style=flat-square\n[code-climate-url]: https://codeclimate.com/github/cwill747/angular-libphonenumber\n[license-image]: http://img.shields.io/badge/license-Apachev2-blue.svg?style=flat-square\n[license-url]: http://www.apache.org/licenses/LICENSE-2.0\n","maintainers":[{"name":"cwill747","email":"cwill747@gmail.com"}],"time":{"modified":"2022-06-13T02:54:49.317Z","created":"2016-03-17T21:41:04.210Z","1.0.0":"2016-03-17T21:41:04.210Z","1.1.0":"2016-03-18T14:56:21.641Z"},"homepage":"https://github.com/cwill747/angular-libphonenumber","keywords":["input","mask","angularjs","phone"],"repository":{"type":"git","url":"git+https://github.com/cwill747/angular-libphonenumber.git"},"author":{"name":"Cameron Will","email":"scwill@us.ibm.com"},"bugs":{"url":"https://github.com/cwill747/angular-libphonenumber/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}