gopd
npmv1.2.0TypeScript`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Overview
gopd is an npm package that `Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation. The latest version is 1.2.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need `Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation and value a focused 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
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
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 gopd.
Dependencies
Dev (13)
Used by
Popular packages that depend on gopd.
`Object.defineProperty`, but not IE 8's broken one.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`.
Get and robustly cache all JS language-level intrinsics at first require time
ES6 spec-compliant RegExp.prototype.flags shim.
Set a function's length property
Alternatives to gopd
`Object.defineProperty`, but not IE 8's broken one.
A robust, ES3 compatible, "has own property" predicate.
Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.
Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`.
A simple cache for a few of the JS Error constructors.
Get and robustly cache all JS language-level intrinsics at first require time
A query library for ECMAScript AST using a CSS selector like query language.
An Esprima-compatible JavaScript parser built on Acorn
Which kind of boxed JS primitive is this?
An AST-based pattern checker for JavaScript.
A JavaScript parser
Robustly `.call.bind()` a function
Frequently installed together
An AST-based pattern checker for JavaScript.
string representations of objects in node and the browser
A robust, ES3 compatible, "has own property" predicate.
A simple cache for a few of the JS Error constructors.
Helper functions around Function call/apply/bind, for use in `call-bind`
Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`.
Get and robustly cache all JS language-level intrinsics at first require time
Implementation of Function.prototype.bind
Robustly `.call.bind()` a function
`Object.defineProperty`, but not IE 8's broken one.
Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.
Set a function's name property
Version history
| Version | Published | License |
|---|---|---|
| 1.2.0latest | 1 year ago | MIT |
| 1.1.0 | 1 year ago | MIT |
| 1.0.1 | 3 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install gopd?
Run `npm install gopd` to add gopd to your npm project.
What license is gopd released under?
gopd is distributed under the MIT license.
How popular is gopd?
gopd has approximately 0 downloads per week and 5 known dependent packages.