Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

cwill747/angular-libphonenumber

Repository files navigation

angular-libphonenumber - AngularJS input masks for phone numbers

Bower Build Status Coverage Status Code Climate David

Description

angular-libphonenumber is an angular directive that can be used as an input mask. By default, all numbers are formatted in US format, but the format can be set with the country-code descriptor. It uses nathanhammond/libphonenumber as a formatter for phone number's, which calls Google's libphonenumber to format numbers as you type them.

Installation

Using Bower:

bower install --save angular-libphonenumber

Then include it in your angular application:

angular.module('myModule', ['cwill747.phonenumber']);

Support

If you are having any questions or issues getting things to work, you can:

Project's issue on GitHub should be used discuss bugs and features.

Contributing to the project

We welcome any contributions to the project. Please check the CONTRIBUTING.md for contribution guidelines.

Check out our contributors here

Development

Prepare your environment

  • Install Node.js and NPM (should come with)
  • Install global dev dependencies: npm install -g gulp karma
  • Install local dev dependencies: npm install while current directory is angular-libphonenumber repo

Build

  • Build the whole project: gulp - this will run jshint, test, and build targets

Release

  • Bump up version number in package.json or by running npm version
  • Commit the version change with the following message: chore(release): [version number]
  • tag
  • push changes and a tag (git push --tags)

About

nathanhammond/libphonenumber as an angular input mask

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 5