Translate data from base-from into base-to and back
npm install dex> Translate data from basea into basen and back
From npm
``shell`
npm install --save dex
Returns input converted into base16 representation. Assumes input is a base10 string, or a Number.
Returns input converted into base10 representation. Assumes input is a base16 string.
Returns input converted into baseto representation. Assumes input is a basefrom string.
- dex accepts only non-empty strings and numeric inputs, every other input value will result in null being returnedinput
- gets lowercased by dex, so you don't need to
- Result is always a lowercase string representation of the number in the requested notation
`shell`
dex [from] [to]
Prints to standard output the results of doing dex(input, from=16, to=10)`.
MIT