{"_id":"next-power-of-two","_rev":"3-e6058450480479c211c61a4aefefaea9","name":"next-power-of-two","description":"returns the next highest power of two","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"next-power-of-two","version":"1.0.0","description":"returns the next highest power of two","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{},"devDependencies":{"faucet":"0.0.1","tape":"^4.0.0"},"scripts":{"test":"node test.js | faucet"},"keywords":["power","of","two","next","highest","greatest","pot","2"],"repository":{"type":"git","url":"git://github.com/mattdesl/next-power-of-two.git"},"homepage":"https://github.com/mattdesl/next-power-of-two","bugs":{"url":"https://github.com/mattdesl/next-power-of-two/issues"},"gitHead":"1e8ea8ee15645fd6d943dce0f1331c1c3abeb797","_id":"next-power-of-two@1.0.0","_shasum":"cbc1f2f62b586fc501bd3ab2fb9962ac4e4e9359","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.32","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"shasum":"cbc1f2f62b586fc501bd3ab2fb9962ac4e4e9359","tarball":"https://registry.npmjs.org/next-power-of-two/-/next-power-of-two-1.0.0.tgz","integrity":"sha512-+z6QY1SxkDk6CQJAeaIZKmcNubBCRP7J8DMQUBglz/sSkNsZoJ1kULjqk9skNPPplzs4i9PFhYrvNDdtQleF/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKnFO2lgAQCvMJHNu4aB5PDJykI4g0+74gmDux0ayzjQIhAOYwmCzqYwqRqEsD1VCp82rTIE7jTx9h88a7qyfIkgoj"}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}]}},"readme":"# next-power-of-two\n\n[![frozen](http://badges.github.io/stability-badges/dist/frozen.svg)](http://github.com/badges/stability-badges)\n\nFor a positive number, returns the next highest power of two.\n\n```js\nvar nextPOT = require('next-power-of-two')\n\nnextPOT(100) === 128\nnextPOT(50)  === 64\nnextPOT(8)   === 8\n```\n\n## Usage\n\n[![NPM](https://nodei.co/npm/next-power-of-two.png)](https://www.npmjs.com/package/next-power-of-two)\n\n#### `nextPowerOfTwo(number)`\n\nFor the positive `number`, returns the next highest power of two value. If `number` is a power of two, it will be returned.\n\nIf `number` is zero, `1` is returned. Negative numbers produce undefined results.\n\n## See Also\n\n- [is-power-of-two](https://www.npmjs.com/package/is-power-of-two)\n\n## License\n\nMIT, see [LICENSE.md](http://github.com/mattdesl/next-power-of-two/blob/master/LICENSE.md) for details.\n","maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"time":{"modified":"2022-06-21T02:30:43.439Z","created":"2015-05-25T04:10:16.443Z","1.0.0":"2015-05-25T04:10:16.443Z"},"homepage":"https://github.com/mattdesl/next-power-of-two","keywords":["power","of","two","next","highest","greatest","pot","2"],"repository":{"type":"git","url":"git://github.com/mattdesl/next-power-of-two.git"},"author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"bugs":{"url":"https://github.com/mattdesl/next-power-of-two/issues"},"license":"MIT","readmeFilename":"README.md"}