1.0.12 • Published 2 months ago
mobile-keyboard-translator v1.0.12
mobile-keyboard-translator
🔨 Translate phone number with letters to only with numbers
Installation
npm install -g mobile-keyboard-translator
CLI
mobile-keyboard-translator 1-800-FLOWERS
1-800-3569377
Help
mobile-keyboard-translator -h
Usage: mobile-keyboard-translator [options] <number>
Options:
-V, --version output the version number
-h, --help output usage information
Purpose
This is mobile keyboard:
-------------------
| 1 | 2 | 3 |
| | ABC | DEF |
-------------------
| 4 | 5 | 6 |
| GHI | JKL | MNO |
-------------------
| 7 | 8 | 9 |
| PQRS| TUV | WXYZ|
-------------------
| * | 0 | # |
| | | |
-------------------
Credits: https://rebased.pl/akademia.html
Tool converts ex. 1-800-FLOWERS
to 1-800-3569377
.
Unit tests
npm test
Code coverage
npm run coverage
License
The MIT License @ 2017