</>PackageGraphPackageGraph

nan

npmv2.28.0

Native Abstractions for Node.js: C++ header for Node 0.8 -> 26 compatibility

30.8M
Weekly downloads
1
Dependents
8
Dependencies
92/100
Popularity

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.

libpqnan
nan dependencies dependents

Dependencies

Dev (8)

bindings ~1.2.1commander ^2.8.1glob ^5.0.14node-gyp ~12.1.0readable-stream ^2.1.4request =2.81.0tap ~0.7.1xtend ~4.0.0

Used by

Popular packages that depend on nan.

Frequently installed together

Version history

VersionPublishedLicense
2.28.0latest25 days agoMIT
2.27.02 months agoMIT
2.26.24 months agoMIT
2.26.14 months agoMIT
2.26.04 months agoMIT
2.25.05 months agoMIT
2.24.07 months agoMIT
2.23.18 months agoMIT
2.23.01 year agoMIT
2.22.21 year agoMIT
2.22.11 year agoMIT
2.22.01 year agoMIT
2.21.01 year agoMIT
2.20.02 years agoMIT
2.19.02 years agoMIT
2.18.02 years agoMIT
2.17.03 years agoMIT
2.16.04 years agoMIT
2.15.05 years agoMIT
2.14.25 years agoMIT

Maintainers

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.