node-integer-bit-length
Get the minimum bit length of a integer
Installation
npm install --save integer-bit-length
Usage
const integerBitLength = console// => 9
API
integerBitLength(integer) => Number
Get the bit length of integer
A TypeError
will be thrown if integer
is not a integer