</>PackageGraphPackageGraph

inherits

npmv2.0.4

Browser-friendly inheritance fully compatible with standard node.js inherits()

168.4M
Weekly downloads
1
Dependents
1
Dependencies
100/100
Popularity

Overview

inherits is an npm package that browser-friendly inheritance fully compatible with standard node.js inherits(). It is extremely widely used, with about 168.4M downloads per week and 1 known dependents in the graph. The latest version is 2.0.4, released under the ISC license.

Who should use it

Teams working in the npm ecosystem who need browser-friendly inheritance fully compatible with standard node.js inherits() 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 (168.4M weekly downloads).
  • Clear open-source license (ISC).
  • Lean dependency tree (1 direct dependencies).

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 inherits.

http-errorsinherits
inherits dependencies dependents

Dependencies

Dev (1)

tap ^14.2.4

Used by

Popular packages that depend on inherits.

Alternatives to inherits

Frequently installed together

Version history

VersionPublishedLicense
2.0.4latest7 years agoISC
2.0.310 years agoISC
1.0.211 years agoISC
1.0.111 years agoISC
2.0.113 years agoISC
2.0.013 years agoWTFPL2
1.0.015 years agoISC

Maintainers

Keywords

Frequently asked questions

How do I install inherits?

Run `npm install inherits` to add inherits to your npm project.

What license is inherits released under?

inherits is distributed under the ISC license.

How popular is inherits?

inherits has approximately 168,447,721 downloads per week and 1 known dependent packages.