# number-is-nan

> ES2015 `Number.isNaN()` ponyfill

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

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

## Install

```sh
npm install number-is-nan
pnpm add number-is-nan
yarn add number-is-nan
bun add number-is-nan
```

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2021-04-07 |
| First published | 2015-05-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/number-is-nan) |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 30 |
| Author | Sindre Sorhus |
| Maintainers | sindresorhus |
| Keywords | es2015, ecmascript, ponyfill, polyfill, shim, number, is, nan, not |

## Links

- npm: https://www.npmjs.com/package/number-is-nan
- Repository: https://github.com/sindresorhus/number-is-nan
- Homepage: https://github.com/sindresorhus/number-is-nan#readme
- Issues: https://github.com/sindresorhus/number-is-nan/issues
- Funding: https://github.com/sponsors/sindresorhus
- npm.io page: https://npm.io/package/number-is-nan

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 3.0.0 (latest) — 2021-04-07
- 2.0.0 — 2020-02-07
- 1.0.1 — 2016-09-30
- 1.0.0 — 2015-05-20

## README

# number-is-nan

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

## Install

```
$ npm install number-is-nan
```

## Usage

```js
const numberIsNan = require('number-is-nan');

numberIsNan(NaN);
//=> true

numberIsNan('unicorn');
//=> false
```

---

<div align="center">
	<b>
		<a href="https://tidelift.com/subscription/pkg/npm-number-is-nan?utm_source=npm-number-is-nan&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
	</b>
	<br>
	<sub>
		Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
	</sub>
</div>

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