Search results

284 packages found

ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.

published version 1.3.0, 6 months ago1375 dependents licensed under $MIT
164,208,391

Undefined safe way of extracting object properties

published version 2.0.5, 4 years ago124 dependents licensed under $MIT
29,155,851

return the first argument that is `!== undefined`

published version 1.0.1, 3 years ago403 dependents licensed under $MIT
17,531,861

Coalesce for JavaScript. Returns the first value that is not undefined or null.

published version 1.0.2, 8 years ago23 dependents licensed under $MIT
13,021,969

Safe Window Getters

published version 1.0.1, 3 years ago28 dependents licensed under $MIT
2,173,860

A library to have a generic typescript definition for object presence.

published version 1.2.2, 4 years ago54 dependents licensed under $MIT
1,233,051

Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)

published version 9.3.0, a year ago36 dependents licensed under $Artistic-2.0
872,968

Returns true if the given is falsey (according to JavaScript) or matches a 'falsey' keyword.

published version 1.0.0, 7 years ago53 dependents licensed under $MIT
592,710

Checks if the given value is null or undefined

published version 1.0.1, 9 years ago45 dependents licensed under $MIT
772,645

Simple function that return the first non null or undefined argument

published version 1.0.0, 10 years ago11 dependents licensed under $MIT
492,079

Check if a value is undefined or not.

published version 1.0.12, 4 months ago28 dependents licensed under $MIT
315,239

TypeScript recursive conversion between optional (partial) and undefined properties.

published version 1.0.2, 2 years ago0 dependents licensed under $MIT
180,385

A simple module that works exactly as Object.assign, but skips assigning undefined values.

published version 1.0.2, 8 years ago1 dependents licensed under $MIT
129,682

Validates if a value is undefined.

published version 1.0.3, 10 years ago3 dependents
20,108

returns a copy of an array or object with null/undefined members removed

published version 2.3.0, 2 years ago8 dependents licensed under $MIT
21,102

Next JavaScript Object Notation

published version 0.4.0, 7 months ago10 dependents licensed under $MIT
17,914

Drops undefined arguments from the end of a function call.

published version 1.1.0, 6 years ago1 dependents licensed under $MIT
14,844

Ignore keys which have undefined values to compare from a deep equal operation with chai expect

published version 1.1.1, a year ago0 dependents licensed under $MIT
12,028

Recursively remove deeply nested properties and/or falsey values (excluding 0), empty objects, and empty arrays.

published version 2.0.0-alpha.3, 3 years ago15 dependents licensed under $MIT
10,516

Check for a valid Number value.

published version 1.0.1, 9 years ago4 dependents licensed under $MIT
9,345