npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "descriptor" 的结果(共 11 个)
merge-descriptors

Merge objects using their property descriptors

MIT
gopd

`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.

MIT
@csstools/postcss-syntax-descriptor-syntax-production

Use the syntax production in syntax descriptors

MIT-0
define-data-property

Define a data property on an object. Will fall back to assignment in an engine without descriptors.

MIT
fd-slicer

safely create multiple ReadStream or WriteStream objects from the same file descriptor

MIT
has-property-descriptors

Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.

MIT
is-accessor-descriptor

Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.

MIT
is-descriptor

Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.

MIT
object-copy

Copy static properties, prototype properties, and descriptors from one object to another.

MIT