Convert a string to a number based on a classic phone number pad encoding
MIT License
Convert a string to a number based on a classic phone number pad encoding
npm install number-pad
var numberPad = require('number-pad')
console.log(numberPad('data')) // 3282
You can install the command line module as well
npm install -g number-pad
number-pad data # prints 3282
MIT