namshi/nmPhone

Name: nmPhone

Owner: Namshi

Description: null

Created: 2016-08-11 05:38:35.0

Updated: 2016-10-25 11:01:28.0

Pushed: 2018-03-05 16:23:56.0

Homepage: null

Size: 220

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

nmPhone

Angular directives and a separate module to validate international phone numbers.

Install (bower)

If you want to use the directives as a bower component

r install --save namshi/nmPhone
Use it

If you need only the nmPhoneUtils library you can include dist/utils.js.

To use the directives you need to include src/nmPhoneNumber.js as the first file (it will register the module namshi.nmPhoneNumber), then, based on what you want to use, you will need to include:

Remember to add the module name into the app definition

lar.module('my_App', [..., 'namshi.nmPhoneNumber', ...]);
Install (npm)
install --save git://github.com/namshi/nmPhone.git#1.0.2

Note: the exported module is the utils.js module.

Build dist files
install

run-script build-dist
Test
test

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.