Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
Extremely fast utf8 only stream implementation
Adds a static `extend` method to a class, to simplify inheritance. Extends the static properties, prototype properties, and descriptors from a `Parent` constructor onto `Child` constructors.
Copy a descriptor from object A to object B
Utils for working with JavaScript classes and prototype methods.
ES2017 spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.
- Object.getOwnPropertyDescriptors
- descriptor
- property descriptor
- ES8
- ES2017
- shim
- polyfill
- getOwnPropertyDescriptor
- es-shim API
Property descriptor factory
Define (or modify) an object property.
Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.
File descriptor manager
Return a property descriptor for an object's own property.
Stand-in for a function
Uniquely flexible and light-weight utility for cloning and deep (recursive) merging of JavaScript objects. Supports descriptor values, accessor functions, and custom prototypes. Provides advanced options for customizing the clone/merge process.
Better `Object.defineProperty()`.
- browser
- configurable
- define
- define-property
- defineproperty
- descriptor
- descriptors
- enumerability
- enumerable
- get-set
- javascript
- library
- nodejs
- object
- View more
unix local sockets with descriptor passing
Creates an Object from a collection of key-value pairs or key-descriptor pairs.
- new
- object
- constructor
- entries
- key
- value
- define
- property
- properties
- descriptor
- getter
- setter
- configurable
- enumerable