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
A robust, ES3 compatible, "has own property" predicate.
Define a non-enumerable property on an object. Uses Reflect.defineProperty when available, otherwise Object.defineProperty.
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
`Object.defineProperty`, but not IE 8's broken one.
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
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.
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
Compile regular expressions' unicodeSets (v) flag.
Parse regular expressions' unicodeSets (v) flag.
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
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
Delete nested properties from an object using dot notation.
Use property paths like 'a.b.c' to get a nested value from an object. Even works when keys have dots in them (no other dot-prop library we tested does this, or does it correctly).