Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
angular-libphonenumber
Advanced tools
Nathan Hammond's libphonenumber ported to an angular filter
Info | Badges |
---|---|
Version | |
License | |
Testing | |
Quality |
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.
View a demo here
Using Bower:
bower install --save angular-libphonenumber
You then must decide what version of libphonenumber you want. There are two included, and you must include one of them in your application before angular-libphonenumber:
<!-- Use either -->
<script src="./<path_to_bower_components>/angular-libphonenumber/dist/libphonenumber.full.js" />
<!-- OR -->
<script src="./<path_to_bower_components>/angular-libphonenumber/dist/libphonenumber.js" />
<!-- THEN -->
<script src="./<path_to_bower_components>/angular-libphonenumber/dist/angular-libphonenumber.min.js" />
Then include it in your angular application:
angular.module('myModule', ['cwill747.phonenumber']);
<input type="text" ng-model="countrycode" />
<input type="text" ng-model="phoneNumber" phone-number country-code="countrycode" />
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.
We welcome any contributions to the project. Please check the CONTRIBUTING.md for contribution guidelines.
Check out our contributors here
npm install -g gulp karma
npm install
while current directory is angular-libphonenumber repogulp
- this will run jshint
, test
, and build
targetsFAQs
Nathan Hammond's libphonenumber ported to an angular filter
The npm package angular-libphonenumber receives a total of 250 weekly downloads. As such, angular-libphonenumber popularity was classified as not popular.
We found that angular-libphonenumber demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.