Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Extend an object with the properties of additional objects. node.js/javascript util.
- assign
- clone
- extend
- merge
- obj
- object
- object-assign
- object.assign
- prop
- properties
- property
- props
- shallow
- util
- View more
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
A robust, ES3 compatible, "has own property" predicate.
Define a non-enumerable property on an object. Uses Reflect.defineProperty when available, otherwise Object.defineProperty.
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
`Object.defineProperty`, but not IE 8's broken one.
Merge objects using their property descriptors
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
Define a data property on an object. Will fall back to assignment in an engine without descriptors.
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
Define a lazily evaluated property on an object
- lazy
- property
- properties
- prop
- define
- object
- value
- lazily
- laziness
- evaluation
- eval
- execute
- getter
- function
- View more
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Compile regular expressions' unicodeSets (v) flag.
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
Parse regular expressions' unicodeSets (v) flag.
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Get, set, or delete a property from a nested object using a dot path
Set nested properties on an object using dot notation.
- bury
- deep-get-set
- deep-object
- deep-property
- deep-set-in
- deep-set
- deephas
- dot-prop
- dot2val
- es5-dot-prop
- get
- getsetdeep
- has
- hasown
- View more
Delete nested properties from an object using dot notation.
Create an error with a code