1.0.0 • Published 8 years ago

radix-cross-conversion v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

radix-cross-conversion Build Status

Convert numbers from and to different bases

Install

$ npm install --save radix-cross-conversion

Usage

const Radix = require('radix-cross-conversion');

let ten = new Radix(10);
ten.to(2).value; // Simple conversion
//=> '1010'

ten.from(2).to(16).value; // Method chaining
//=> 'a'

Testing

$ npm test

License

MIT © EL AZZABI Ahmed