Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tanis2000/meteor-node-phone

Meteor package of node-phone. See https://github.com/AfterShip/node-phone
https://github.com/tanis2000/meteor-node-phone

Last synced: 4 days ago
JSON representation

Meteor package of node-phone. See https://github.com/AfterShip/node-phone

Awesome Lists containing this project

README

        

meteor-node-phone
=================

Meteor package of node-phone. See https://github.com/AfterShip/node-phone

Installation
============
```shell
mrt add phone
```

Usage example
=============

On the server side:
```javascript
Meteor.methods({
normalizePhone: function(phone) {
var res = Phone(phone, '');
return res;
}
});
```

On the client side:
```javascript
var normalized = Meteor.call('normalizePhone', '+39 035 656098');
```