1.0.0 • Published 6 years ago
decbin v1.0.0
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
1.0.0
6 years ago