number-pad

Convert a string to a number based on a classic phone number pad encoding

MIT License

Downloads
8
Stars
35
Committers
1

number-pad

Convert a string to a number based on a classic phone number pad encoding

npm install number-pad

Usage

var numberPad = require('number-pad')
console.log(numberPad('data')) // 3282

Command line

You can install the command line module as well

npm install -g number-pad
number-pad data # prints 3282

License

MIT

Package Rankings
Top 19.51% on Npmjs.org
Badges
Extracted from project README
build status