A module for converting numbers between bases. Convert your number from base10 to base2-60.
This module can be useful for different application.
Example:
- URL shortener where you need you number to be presented in a shorted fashion. Instead of:
https://example.com/123456789 you get https://example.com/9VXX9
npm install integer-base-converter
Then you can use it like this:
var ibc = require('integer-base-converter');
var result = ibc.convert(1000, 10, 60);
console.log(result);
# -> Result should be 'Ge'
git clone git@github.com:5orenso/integer-base-converter.git
Do your magic and create a pull request.
Use the Issue tracker
$ npm install -g npm-check-updates
$ ncu -u
$ npm install --save --no-optional