Skip to content

regality/sms-address

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Usage

sms-address returns an email address that can be used to send an SMS (or MMS) message.

It takes two arguments, phone number, and carrier.

var sms = require('sms-address');

var email = sms('123-456-7890', 'Verizon');

email === '1234567890@vtext.com';

sms-address also exports the carriers it supports. US only for now.

var sms = require('sms-address');

console.log(sms.carriers)

// outputs:
{
  "Alaska Communications": "msg.acsalaska.com",
  "Alltel": "sms.alltelwireless.com",
  "Alltel-mms": "mms.alltelwireless.com",
  "Ameritech": "paging.acswireless.com",
  "AT&T": "txt.att.net",
  "AT&T-mms": "mms.att.net",
  "BellSouth": "bellsouth.cl",
  "Bluegrass Cellular": "sms.bluecell.com",
  "Bluegrass Cellular-mms": "mms.myblueworks.com",
  // and so on and so forth ...

About

node module to get email address for sms messaging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •