220 packages found

M
Q
P

Description

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

Keywords

Publisher

published 1.2.18 months 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.22 years 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.12 years ago
M
Q
P

Description

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

Keywords

Publisher

published 7.11.08 days ago
M
Q
P

Description

This little utility helps in finding null, undefined etc values from objects and arrays.

Keywords

Publisher

published 5.9.02 months ago
M
Q
P

Description

TypeScript maybe monad for reaching child fields inside complicated objects.

Keywords

Publisher

published 1.2.16 months ago
M
Q
P

Description

Delete nested key-value pairs on an object with a provided key, or remove undefined, null, empty strings, empty arrays, and empty nested objects from an object.

Keywords

Publisher

published 1.2.1a year ago
M
Q
P

Description

Simple function that return the first non null or undefined argument

Keywords

Publisher

published 1.0.05 years ago
M
Q
P

Description

Monadic library to help with Typescripts --strictNullChecks

Keywords

Publisher

published 2.0.11a year ago
M
Q
P

Description

A logic Utility. Nil is: null or undefined. Make writing node easier, prettier and less error prone. Writes and reads more like prose

Keywords

Publisher

published 2.0.62 months ago
M
Q
P

Description

Common error classes and utility functions

Keywords

Publisher

published 1.0.53 years ago
M
Q
P

Description

A stateless implementation of the maybe monad

Keywords

Publisher

published 2.2.37 months ago
M
Q
P

Description

nil (null or undefined) type

Keywords

Publisher

published 1.1.13 months ago
M
Q
P

Description

Checks if the given value is a window object.

Keywords

Publisher

published 1.0.24 years ago
M
Q
P

Description

ntnl [not null]: a tiny js library which sanitizes null / undefined values from objects by replacing them with provided values

Keywords

Publisher

published 1.0.1a month ago
M
Q
P

Description

If value is null or undefined, it sets a default value instead.

Keywords

Publisher

published 0.0.85 years ago
M
Q
P

Description

Converts empty object,empty array, empty string,NaN,null or undefined into the string "N/A" else return the input as-is

Keywords

Publisher

published 1.1.15 months ago
M
Q
P

Description

Politely tells stdout and stderr to shut the heck up for a moment.

Keywords

Publisher

published 2.0.64 years ago
M
Q
P

Description

Utilities to determine if string is any of the following null, empty, undefined, NaN, or whitespace.

Keywords

Publisher

published 1.0.3a month ago
M
Q
P

Description

Implementation of Postgres SQL's coalesce function: return the first argument that is not null

Keywords

Publisher

published 1.0.39 months ago