Search results

278 packages found

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

published version 1.3.0, 2 months ago1354 dependents licensed under $MIT
135,984,893

Undefined safe way of extracting object properties

published version 2.0.5, 3 years ago119 dependents licensed under $MIT
25,811,997

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

published version 1.0.1, 2 years ago404 dependents licensed under $MIT
15,068,764

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
11,498,297

Safe Window Getters

published version 1.0.1, 2 years ago27 dependents licensed under $MIT
1,916,825

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

published version 1.2.2, 3 years ago51 dependents licensed under $MIT
930,502

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

published version 9.3.0, a year ago35 dependents licensed under $Artistic-2.0
843,382

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
546,875

Checks if the given value is null or undefined

published version 1.0.1, 9 years ago44 dependents licensed under $MIT
703,805

Simple function that return the first non null or undefined argument

published version 1.0.0, 10 years ago11 dependents licensed under $MIT
399,551

Check if a value is undefined or not.

published version 1.0.11, 5 years ago28 dependents licensed under $MIT
149,534

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
91,992

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

published version 1.0.2, a year ago0 dependents licensed under $MIT
74,334

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
34,579

Validates if a value is undefined or null.

published version 1.0.0, 10 years ago1 dependents licensed under $MIT
31,711

Check for a valid Number value.

published version 1.0.1, 9 years ago3 dependents licensed under $MIT
13,605

Validates if a value is undefined.

published version 1.0.3, 10 years ago3 dependents
14,595

Safe Window Getters

published version 1.0.1, 4 years ago6 dependents licensed under $MIT
17,379

Next JavaScript Object Notation

published version 0.4.0, 3 months ago9 dependents licensed under $MIT
10,349

A small safe accessor that uses reduce to prevent 'Cannot read property of undefined' errors

published version 1.0.6, 8 years ago2 dependents licensed under $ISC
13,482