Install
nan
Native Abstractions for Node.js: C++ header for Node 0.8 -> 26 compatibility
2.30.0Latest, 18 Oct 2026
216MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
3.4KStars
5.0/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
In the news
- Next.js 16 sitemap.ts and robots.ts: NaN URLs, a lastmod that changes every request, and 4 more traps dev.to, 1 Dec 2026
- Why opentype.js 2.0's toPathData() Silently Emits NaN (and How We Fixed Outlined SVG + PDF Exports in the Browser) dev.to, 30 Nov 2026
- Check NaN Deliberately: includes and indexOf Use Different Equality Rules dev.to, 29 Nov 2026
- SageMaker HyperPod Fixes Silent Training Failures: Hung Jobs, NaN Loss, NCCL dev.to, 27 Nov 2026
- type of NaN === “number” কেনো বা কি? dev.to, 23 Nov 2026
On Hacker News
- NaN Gates and Flip FLOPS 199 points, 33 comments, 15 Nov 2019
- The secret life of NaN 177 points, 70 comments, 5 Apr 2018
- NaN Boxing (2020) 137 points, 62 comments, 16 Sep 2022
- Why ['1', '7', '11'].map(parseInt) returns [1, NaN, 3] in JavaScript 113 points, 150 comments, 21 Jun 2019
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.