Package
is-nan
ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 8.8m
- +32% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 5 years ago
- v1.3.2
- GitHub stars
- 12
- 6 forks
- Open issues / PRs
- 1 / 0
- Contributors
- -
- Commits, last 52 weeks
- 1
Downloads
Last week 2026-09-15 to 2026-09-21
8,837,268 downloads last week, 42,557,281 in the last month. The 12-month change of +32% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 08 in total
- Latest version
- 1.3.2, 24 Dec 20205 years ago
- First published
- 20 Jan 2014
- Last push to GitHub
- 30 Dec 2025269 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 0
- Commits, last 52 weeks
- 1
- Dependents on npm
- 87
Major versions
- v1 first release 1.0.1, 5 Jul 2014
- v0 first release 0.0.0, 20 Jan 2014
Recent releases
| Version | Published |
|---|---|
| 1.3.2 | 24 Dec 2020 |
| 1.3.1 | 24 Dec 2020 |
| 1.3.0 | 15 Dec 2019 |
| 1.2.1 | 16 Aug 2015 |
| 1.2.0 | 16 Aug 2015 |
| 1.1.0 | 25 Jun 2015 |
| 1.0.1 | 5 Jul 2014 |
| 0.0.0 | 20 Jan 2014 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >= 0.4
- Runtimes
- -
- Unpacked size (npm)
- 11 kB
- Dependencies (2)
call-binddefine-properties
npm install is-nan- jsDelivr
https://cdn.jsdelivr.net/npm/is-nan@1.3.2/ - unpkg
https://unpkg.com/is-nan@1.3.2/ - esm.sh
https://esm.sh/is-nan@1.3.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| weakmap-polyfill | 1m | - | 5 years ago | CommonJS | - |
| @thednp/dommatrix | 182k | - | 22 days ago | ESM + CommonJS | - |
| object-keys | 79.8m | - | 7 years ago | CommonJS | - |
| array-buffer-byte-length | 63.3m | - | 1 year ago | CommonJS | - |
Indexability: Indexed.