Search results

275 packages found

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

published 1.2.1 5 years ago
M
Q
P

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

published 1.0.1 2 years ago
M
Q
P

Typed Option/Optional/Maybe for TypeScript and JavaScript, created to simplify code involving optional values (null, undefined, NaN).

published 6.0.2 9 days ago
M
Q
P

A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.

published 2.18.3 9 months ago
M
Q
P

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

published 1.0.2 7 years ago
M
Q
P

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

published 1.1.1 4 months ago
M
Q
P

Undefined safe way of extracting object properties

published 2.0.5 3 years ago
M
Q
P

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

published 1.3.1 4 months ago
M
Q
P

Transform an Object that was transformed to return only the original properties recursively picked if they are not undefined.

published 2.0.0 a month ago
M
Q
P

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

published 9.3.0 9 months ago
M
Q
P

Next JavaScript Object Notation

published 0.3.2 3 months ago
M
Q
P

A utility to determine if a value is undefined

published 2.0.11 2 months ago
M
Q
P
M
Q
P

Safe Window Getters

published 1.0.1 2 years ago
M
Q
P

For projects that may or may not run on a browser, like websites with SSR, sets all browser global variables like `window` or `document` as eventually undefined for better type-proofing

published 1.1.0 3 days ago
M
Q
P

Convert any value into a boolean value.

published 1.0.4 6 months ago
M
Q
P

Test if a value is a JavaScript primitive.

published 0.2.2 2 months ago
M
Q
P

Test if a value is undefined or null.

published 0.2.2 2 months ago
M
Q
P

Easily remove null, undefined, or any specified values from JSON objects and arrays.

published 2.0.4 a day ago
M
Q
P

Basic sort algorithm that has similar behavior to Array.prototype.sort for null and undefined, but also support symbol.

published 1.0.7 6 months ago
M
Q
P