binary-machine
v2.0.1
Published
Convert decimal numbers to binary
Downloads
3
Readme
Binary Machine
Convert decimal numbers to binary :keycap_ten: :arrow_right: :two:
Installation
npm i -S binary-machine
Usage
var bm = require('binary-machine');
console.log(bm('13'));
// "1101"
console.log(bm('31'));
// "11111"
Tests
npm test
# run tests and display status about code coverage
npm test:single
Lincese
MIT License © Eric Douglas