Search results
36 packages found
ES spec-compliant shim for Object.hasOwn
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
Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js
Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects.
JavaScript curried hasOwn helper
Common JavaScript/TypeScript helper functions for better minification
Reduces an object to a value that is the accumulated result of running each property in the object through a callback. Executes the callback function once for each own enumerable property in the object, receiving four arguments: the initial value (or valu
- accumulate
- accumulator
- callback
- cb
- find
- for-in
- for-own
- has
- has-own
- hasOwn
- index
- iterate
- iterator
- javascript
- View more
(fork of omit-empty) Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
Get a nested property or its value from an object using simple `a.b.c` paths.
Test if an object has a specified property.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- object
- obj
- has
- hasown
- hasownproperty
- property
- View more
Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
(fork of omit-empty) Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
Create a new object filtered to have only properties for which the callback returns true.
Expand a string into a JavaScript object using a simple notation. Use the CLI or as a node.js lib.
Returns `true` if a value exists in the given string, array or object.
Check if object has property, super fast
Babel plugin for transforming `Object.hasOwn`.