nan
npmv2.28.0Native Abstractions for Node.js: C++ header for Node 0.8 -> 26 compatibility
Overview
nan is an npm package that native Abstractions for Node.js: C++ header for Node 0.8 -> 26 compatibility. It is extremely widely used, with about 30.8M downloads per week and 1 known dependents in the graph. The latest version is 2.28.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need native Abstractions for Node.js: C++ header for Node 0.8 -> 26 compatibility and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (30.8M weekly downloads).
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of nan.
Dependencies
Dev (8)
Used by
Popular packages that depend on nan.
Frequently installed together
Version history
| Version | Published | License |
|---|---|---|
| 2.28.0latest | 25 days ago | MIT |
| 2.27.0 | 2 months ago | MIT |
| 2.26.2 | 4 months ago | MIT |
| 2.26.1 | 4 months ago | MIT |
| 2.26.0 | 4 months ago | MIT |
| 2.25.0 | 5 months ago | MIT |
| 2.24.0 | 7 months ago | MIT |
| 2.23.1 | 8 months ago | MIT |
| 2.23.0 | 1 year ago | MIT |
| 2.22.2 | 1 year ago | MIT |
| 2.22.1 | 1 year ago | MIT |
| 2.22.0 | 1 year ago | MIT |
| 2.21.0 | 1 year ago | MIT |
| 2.20.0 | 2 years ago | MIT |
| 2.19.0 | 2 years ago | MIT |
| 2.18.0 | 2 years ago | MIT |
| 2.17.0 | 3 years ago | MIT |
| 2.16.0 | 4 years ago | MIT |
| 2.15.0 | 5 years ago | MIT |
| 2.14.2 | 5 years ago | MIT |
Frequently asked questions
How do I install nan?
Run `npm install nan` to add nan to your npm project.
What license is nan released under?
nan is distributed under the MIT license.
How popular is nan?
nan has approximately 30,845,023 downloads per week and 1 known dependent packages.