le-phone-service
v0.1.2
Published
Send texts
Downloads
1
Readme
le-phone-service
Send texts
Installation
npm install le-phone-service
Usage
var storage = /* initialize storage service */
var provider = /* initialize phone provider (such as le-phone-provider-twilio) */
var PhoneService = require('le-phone-service');
var from = /* your phone number */
var phone = new PhoneService(provider, storage, from);
phone.text('3138675309', 'Hello!')
.then(function (record) {
...
});
Tests
npm test
to run unit tests oncegulp tdd
to run unit and e2e tests when tests changegulp coverage
to run unit tests and create a code coverage report
Contributing
Please follow the project's conventions or your changes will not be accepted
Release History
- 0.1.0 Initial release