Search results

309 packages found

Maybe monad for JavaScript

published version 0.0.2, 12 years ago2 dependents licensed under $MIT
1,136

Nullable type and helper functions for typescript

published version 1.3.1, 6 years ago0 dependents licensed under $MIT
873

Improved type check

published version 3.0.1, 6 years ago1 dependents licensed under $MIT
808

Optional module for JavaScript that provides interfaces to interact with potentially null/undefined values.

published version 0.0.18, 2 years ago1 dependents licensed under $MIT
843

Remove null value from json object

published version 1.0.1, 7 years ago1 dependents licensed under $ISC
801

exists and allExist functions. plain and simple

published version 1.0.1, 8 years ago10 dependents licensed under $MIT
722

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

published version 0.0.8, 10 years ago8 dependents licensed under $ISC
555

JSON.parse(JSON.stringify(myObject)) and remove all nulls, undefined and empty strings

published version 1.1.1, 10 years ago3 dependents licensed under $MIT
492

A react custom renderer that renders nothing but logical components

published version 2.0.0, 5 months ago16 dependents licensed under $MIT
542

checks if foo is not defined, i.e. undefined, null, an empty string, array, object or NaN

published version 3.0.5, 4 years ago6 dependents licensed under $MIT
556

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

published version 6.1.0, 4 months ago2 dependents licensed under $MIT
530

A simple value watcher for Nodejs (Express) Apps

published version 1.1.5, 9 years ago0 dependents licensed under $ISC
505

Exact replica of the PHP empty function in for JavaScript and TypeScript

published version 3.0.1, 16 hours ago1 dependents licensed under $MIT
405

Clean objects recursively, deleting undefined & null or falsy properties

published version 1.0.1, 9 years ago9 dependents licensed under $MIT
425

A library to prune a JS object from nulls, recursively.

published version 1.0.3, 10 years ago3 dependents licensed under $Apache-2.0
379

GraphQL Throw-On-Error - incorporate error handling back into the reading of your data, so you can handle errors in the most natural way.

published version 1.0.0-rc.0, 3 months ago1 dependents licensed under $MIT
338

Test if a value is a JavaScript primitive.

published version 0.2.2, a year ago3 dependents licensed under $Apache-2.0
360

A simple writeable stream that outputs to nothing.

published version 0.1.8, 12 days ago1 dependents licensed under $BSD-3-Clause
283

A lightweight, TypeScript-first library for cleaning JavaScript objects by removing undefined values, empty strings, empty arrays, functions, and other unwanted properties. Built on es-toolkit for superior performance.

published version 1.2.0, 9 days ago0 dependents licensed under $MIT
325

Check if a given object is null or empty

published version 1.0.1, 8 years ago1 dependents licensed under $WTFPL
315