0.2.5 • Published 8 years ago
integer-base-converter v0.2.5
integer-base-converter
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
Quick start
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'
Howto contribute
git clone git@github.com:5orenso/integer-base-converter.git
Do your magic and create a pull request.
Howto report issues
Use the Issue tracker
Howto upgrade modules
$ npm install -g npm-check-updates
$ ncu -u
$ npm install --save --no-optional