Necessary Pigeonholing Mechanism

22 packages found

M
Q
P

Description

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.

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths.

Keywords

Publisher

published 3.0.0a year ago
M
Q
P

Description

Returns true if a value exists, false if empty. Works with deeply nested values using object paths.

Keywords

Publisher

published 2.0.2a year ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.22 years ago
M
Q
P

Description

Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects.

Keywords

Publisher

published 4.0.0a year ago
M
Q
P

Description

Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.

Keywords

Publisher

published 2.0.1a year ago
M
Q
P

Description

Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.

Keywords

Publisher

published 1.0.03 months ago
M
Q
P

Description

Returns `true` if a value exists in the given string, array or object.

Keywords

Publisher

published 1.0.04 years ago
M
Q
P

Description

JavaScript curried hasOwn helper

Keywords

Publisher

published 2.0.02 years ago
M
Q
P

Description

DEPRECATED - use set-value instead.

Keywords

Publisher

published 1.0.14 years ago
M
Q
P

Description

Vue.set with dot notation support (`'a.b.c'`) paths.

Keywords

Publisher

published 1.0.34 months ago
M
Q
P

Description

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

Keywords

Publisher

published 0.1.34 years ago
M
Q
P

Description

Returns true if an object has any of the specified keys.

Keywords

Publisher

published 0.1.23 years ago
M
Q
P

Description

Get a property from an object using dot (object path) notation.

Keywords

Publisher

published 0.2.04 years ago
M
Q
P

Description

Similar to omit-empty, recursively omits empty properties, but also compacts/flattens nested arrays in an object.

Keywords

Publisher

published 0.1.34 years ago
M
Q
P

Description

Expand a string into a JavaScript object using a simple notation. Use the CLI or as a node.js lib.

Keywords

Publisher

published 0.4.23 years ago
M
Q
P

Description

Collapse an object into a string using the syntax from expand-object. This syntax is pretty handy for setting command line arguments, for expanding/collapsing test fixtures, etc.

Keywords

Publisher

published 0.1.04 years ago
M
Q
P

Description

Get a nested property or its value from an object using simple `a.b.c` paths.

Keywords

Publisher

published 0.2.04 years ago
M
Q
P

Description

Shorthand for Object.prototype.hasOwnProperty.call(obj, name)

Keywords

Publisher

published 0.1.12 years ago
M
Q
P

Description

Create a new object filtered to have only properties for which the callback returns true.

Keywords

Publisher

published 0.3.04 years ago