1.0.2 • Published 6 years ago
highest-power-two v1.0.2
highestPowerTwo
A small utility to find the highest power of two below a given value.
Installation
npm install highest-power-two --save
Usage
var highestPowerTwo = require('highest-power-two').default;
var result = highestPowerTwo(51);
console.log('result', result); // => "result 32"
Tests
npm test
Changelog
v1.0.2
- Fix README instructions
v1.0.1
- Changed
prepublish
script toprepare
.
v1.0.0
- Initial release