toBase
Transform an integer from base 10 to base 1 < x < 11. The first parameter is your base 10 integer and the second parameter is the desired base. toBase returns a number.
const toBase = ; ;// => 1002
Transform an integer from base 10 to base 1 < x < 11. The first parameter is your base 10 integer and the second parameter is the desired base. toBase returns a number.
const toBase = ; ;// => 1002
npm i tobase
5
1.0.4
ISC