Skip to content
JS
Package

setprototypeof

A small polyfill for Object.setprototypeof

v1.2.0, 18 Jul 2019ISCCommonJSTypes: BundledPolyfills and shims
$ npm install setprototypeof

Key numbers

As of 25 Sept 2026
Weekly downloads
102.1m
+74% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 years ago
v1.2.0
GitHub stars
51
10 forks
Open issues / PRs
0 / 2
Contributors
5
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 131.6m (25 Aug 2026)Low 36.7m (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.

102,097,479 downloads last week, 442,279,314 in the last month. The 12-month change of +74% 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
1.2.0, 18 Jul 20197 years ago
First published
4 Feb 2015
Last push to GitHub
24 Jun 20221,553 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
1,369

Major versions

  1. v1 first release 1.0.0, 4 Feb 2015

Recent releases

VersionPublished
1.2.018 Jul 2019
1.1.14 Jan 2019
1.1.013 Sept 2017
1.0.320 Feb 2017
1.0.213 Nov 2016
1.0.16 Feb 2016
1.0.04 Feb 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
3.9 kB
Dependencies (0)
None
npm install setprototypeof
  • jsDelivrhttps://cdn.jsdelivr.net/npm/setprototypeof@1.2.0/
  • unpkghttps://unpkg.com/setprototypeof@1.2.0/
  • esm.shhttps://esm.sh/setprototypeof@1.2.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.