Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

org.webjars.bower:github-com-blockchain-bc-phone-number

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

org.webjars.bower:github-com-blockchain-bc-phone-number

WebJar for bc-phone-number

  • 5.1.1
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

bc-phone-number Build Status

Installation

Bower

bower install --save bc-phone-number
angular.module('myApp', ['bcPhoneNumber'])

NPM

npm install --save bc-phone-number
angular.module('myApp', [require('bc-phone-number')])

Just download the dist folder.

Usage

<bc-phone-number ng-model='theNumber' default-country='us' preferred-countries='us gb ca' is-valid='isValid'></bc-phone-number>
angular.module('myModule', ['bcPhoneNumber', function(bcPhoneNumber) {

  scope.formattedNumber = bcPhoneNumber.format('966501234567');
  scope.isValid = bcPhoneNumber.isValid(scope.formattedNumber);
}]);

Note thatng-model and is-valid are scope variables.

Release

Build a new version:

gulp build

Update version in bower.json and package.json and commit:

git commit -a -m "Release 5.0.8"

Tag, sign and push:

git tag -s v5.0.8 -m "v5.0.8"
git push --tags

FAQs

Package last updated on 29 Jan 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc