/telephones-js

Some example code to demonstrate some of the ways you can deal with telephone numbers using JS and Node.js

Primary LanguageJavaScript

#Telephones JS

This repository contains a bunch of code illustrating some of the ways in which you can use JS to handle telephone numbers.

There are two principal components; an extremley simple Node.js / Express app demonstrating this JQuery plugin along with Google's libphonenumber.

The second is a really simple example of how you might use the data from this library to deal with international dialling codes.

This code is designed to accompany this article.

##Demo App

To install and run the app:

npm install
bower install
node server.js

##Dialling Codes Library

Take a look in tests/intl-dialling-codes.js for example usage, or to run the tests yourself:

mocha tests/intl-dialling-codes.js