mobile-keyboard-translator

1.0.12 • Public • Published

mobile-keyboard-translator

node version npm version downloads count size license github-ci

🔨 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

Package Sidebar

Install

npm i mobile-keyboard-translator

Weekly Downloads

28

Version

1.0.12

License

MIT

Unpacked Size

5.46 kB

Total Files

4

Last publish

Collaborators

  • piecioshka