radix-cross-conversion

1.0.0 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i radix-cross-conversion

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • elazzabi