Search results

283 packages found

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

published version 1.3.0, 7 months ago1232 dependents licensed under $MIT
214,736,356

Undefined safe way of extracting object properties

published version 2.0.5, 4 years ago117 dependents licensed under $MIT
35,385,016

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

published version 1.0.1, 3 years ago379 dependents licensed under $MIT
26,389,503

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

published version 1.0.2, 8 years ago25 dependents licensed under $MIT
14,397,300

Safe Window Getters

published version 1.0.1, 3 years ago28 dependents licensed under $MIT
2,488,828

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

published version 1.2.2, 4 years ago56 dependents licensed under $MIT
1,134,153

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

published version 9.3.0, 2 years ago37 dependents licensed under $Artistic-2.0
1,067,805

Simple function that return the first non null or undefined argument

published version 1.0.0, 10 years ago8 dependents licensed under $MIT
597,829

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
645,862

Checks if the given value is null or undefined

published version 1.0.1, 9 years ago46 dependents licensed under $MIT
777,695

Check if a value is undefined or not.

published version 1.0.12, 5 months ago28 dependents licensed under $MIT
245,706

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

published version 1.0.2, 2 years ago0 dependents licensed under $MIT
133,210

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
135,666

Validates if a value is undefined.

published version 1.0.3, 10 years ago3 dependents
40,998

Next JavaScript Object Notation

published version 0.4.0, 8 months ago10 dependents licensed under $MIT
23,975

Safe Window Getters

published version 1.0.1, 5 years ago6 dependents licensed under $MIT
30,386

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

published version 2.3.0, 3 years ago9 dependents licensed under $MIT
19,272

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
14,384

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
16,954

Ensures value is defined (i.e., neither undefined nor null).

published version 1.0.0, 6 years ago1 dependents licensed under $MIT
13,935
OSZAR »