Skip to content
JS
Package

inherits

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

v2.0.4, 19 Jun 2019ISCCommonJSTypes: None
$ npm install inherits

Key numbers

As of 25 Sept 2026
Weekly downloads
158.1m
+70% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 years ago
v2.0.4
GitHub stars
353
86 forks
Open issues / PRs
4 / 2
Contributors
7
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
0100m200m300mSept 2025Mar 2026Sept 2026High 201.3m (25 Aug 2026)Low 60.6m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

158,130,402 downloads last week, 737,144,863 in the last month. The 12-month change of +70% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
07 in total
Latest version
2.0.4, 19 Jun 20197 years ago
First published
7 Apr 2011
Last push to GitHub
25 Oct 2025334 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
2
Commits, last 52 weeks
1
Dependents on npm
5,957

Major versions

  1. v2 first release 2.0.0, 16 May 2013
  2. v1 first release 1.0.0, 7 Apr 2011

Recent releases

VersionPublished
2.0.419 Jun 2019
2.0.38 Sept 2016
1.0.227 Aug 2015
1.0.126 Aug 2015
2.0.119 Aug 2013
2.0.016 May 2013
1.0.07 Apr 2011
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
3.9 kB
Dependencies (0)
None
npm install inherits

CDN

jsDelivr: 87.6k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/inherits@2.0.4/
  • unpkghttps://unpkg.com/inherits@2.0.4/
  • esm.shhttps://esm.sh/inherits@2.0.4
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.