# math-log2

> ES2015 Math.log2() ponyfill

Latest version **2.0.0** (published 2021-04-07) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install math-log2
pnpm add math-log2
yarn add math-log2
bun add math-log2
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2021-04-07 |
| First published | 2015-05-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Unpacked size | 2.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Sindre Sorhus |
| Maintainers | sindresorhus |
| Keywords | es2015, ponyfill, polyfill, shim, number, math, log2, log, logarithm |

## Links

- npm: https://www.npmjs.com/package/math-log2
- Repository: https://github.com/sindresorhus/math-log2
- Homepage: https://github.com/sindresorhus/math-log2#readme
- Issues: https://github.com/sindresorhus/math-log2/issues
- npm.io page: https://npm.io/package/math-log2

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2021-04-07
- 1.0.1 — 2016-09-30
- 1.0.0 — 2015-05-21

## README

# math-log2

> ES2015 [`Math.log2()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log2) [ponyfill](https://ponyfill.com)


## Install

```
$ npm install --save math-log2
```


## Usage

```js
var mathLog2 = require('math-log2');

mathLog2(5);
//=> 2.321928094887362
```


## License

MIT © [Sindre Sorhus](http://sindresorhus.com)

---
_Source: https://npm.io/package/math-log2 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
