majorsystem
Converts numbers into Mnemonics using the Major System. Allows a configurable mapping of consonants to digits and custom word lists.
By default, it uses Lewis Carrol's consonant to digit mapping, however this can be customized by providing a JSON file using the --mapFile option.
Installation
$ npm install --global majorsystem
Usage
majorsystem --help majorsystem [number] Options: --version Show version number [boolean] --maxWords, --mw Maximum number of words
Default Consonant to Number mapping
0:
- z
- r
1:
- b
- c
2:
- d
- w
3:
- t
- j
4:
- f
- q
5:
- l
- v
6:
- s
- x
7:
- p
- m
8:
- h
- k
9:
- n
- g
License
ISC © John De Mott