1.0.2 • Published 6 years ago

highest-power-two v1.0.2

Weekly downloads
12
License
MIT
Repository
github
Last release
6 years ago

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 to prepare.

v1.0.0

  • Initial release
1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago