decbin
v1.0.0
Published
decbin — Decimal to binary. Returns a string containing a binary representation of the given number argument.
Downloads
15
Maintainers
Readme
decbin
decbin — Decimal to binary. Returns a string containing a binary representation of the given number argument.
Install
$ npm install decbin
Usage
const decbin = require('decbin');
decbin(25);
//=> "11001"
API
decbin(input, [options])
input
Type: number
License
MIT © Dmitry Lebedev