setprototypeof
npmv1.2.0TypeScriptA small polyfill for Object.setprototypeof
Overview
setprototypeof is an npm package that a small polyfill for Object.setprototypeof. It is extremely widely used, with about 107.1M downloads per week and 1 known dependents in the graph. The latest version is 1.2.0, released under the ISC license.
Who should use it
Teams working in the npm ecosystem who need a small polyfill for Object.setprototypeof and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (107.1M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (ISC).
- Lean dependency tree (2 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of setprototypeof.
Dependencies
Dev (2)
Used by
Popular packages that depend on setprototypeof.
Alternatives to setprototypeof
`Object.defineProperty`, but not IE 8's broken one.
Merge objects using their property descriptors
Really Fast Deep Clone
prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.
An object schema merger/validator
An optimised way to copy'ing an object. A small and simple integration
Frequently installed together
Browser-friendly inheritance fully compatible with standard node.js inherits()
HTTP status utility
An AST-based pattern checker for JavaScript.
Deprecate all the things
Convert a string of words to a JavaScript identifier
Version history
| Version | Published | License |
|---|---|---|
| 1.2.0latest | 7 years ago | ISC |
| 1.1.1 | 7 years ago | ISC |
| 1.1.0 | 8 years ago | ISC |
| 1.0.3 | 9 years ago | ISC |
| 1.0.2 | 9 years ago | ISC |
| 1.0.1 | 10 years ago | ISC |
| 1.0.0 | 11 years ago | ISC |
Maintainers
Keywords
Frequently asked questions
How do I install setprototypeof?
Run `npm install setprototypeof` to add setprototypeof to your npm project.
What license is setprototypeof released under?
setprototypeof is distributed under the ISC license.
How popular is setprototypeof?
setprototypeof has approximately 107,139,986 downloads per week and 1 known dependent packages.