Search results

45 packages found

Isomorphic, functional type-checking for Javascript

published version 7.3.0, 5 months ago76 dependents licensed under $MIT
22,622,098

Check if an identifier is defined

published version 1.0.0, 10 years ago3 dependents licensed under $MIT
102,628

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
113,580

util for validation that object has defined props

published version 1.2.2, 8 years ago1 dependents licensed under $Apache-2.0
1,430

NodeJS bindings for fastcdc-rs

published version 1.0.1, 3 years ago0 dependents licensed under $ISC
649

Elvis operator functionality for JavaScript.

published version 2.2.0, 7 years ago32 dependents licensed under $MIT
1,205

utilizes js/ts arrays with onEmpty, defined and flatMap functions

published version 2.5.0, 2 months ago1 dependents licensed under $ISC
991

Common types, type guards and type checkers.

published version 5.0.0-rc.0, 3 years ago1 dependents licensed under $MIT
250

Utilities for working with undefined properties

published version 1.0.1, 10 years ago1 dependents licensed under $MIT
209

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
110

[![example workflow](https://github.com/hansogj/maybe/actions/workflows/build.yml/badge.svg)](https://github.com/hansogj/maybe/actions/workflows/build.yml/badge.svg)

published version 2.2.23, a year ago0 dependents licensed under $ISC
88

Check if a variable in a nested object is defined and optionally also check its type. Useful for verifying API responses.

published version 1.2.1, 5 years ago0 dependents licensed under $MIT
77

2 functions that check if argument is undefined or null

published version 2.0.0, 5 years ago15 dependents licensed under $MIT
58

Assert that the passed arguments are defined.

published version 1.0.2, 5 years ago29 dependents licensed under $MIT
37

ensures all required parameters are not null, or throws a useful error like 'phone is required'

published version 1.0.18, 4 years ago1 dependents licensed under $ISC
42

LoDash Mixins from Decipher, Inc.

published version 0.3.4, 10 years ago0 dependents licensed under $MIT
43

Simple utility function for checking isDefined for complex objects with long property paths

published version 1.0.1, 10 years ago0 dependents licensed under $MIT
41

A very limited subset of object functions I use every day

published version 0.4.0, 9 years ago3 dependents licensed under $MIT
29

A minimalistic boilerplate to wait for Custom Elements, or libraries, definition

published version 1.0.2, 5 years ago0 dependents licensed under $ISC
44

A robust micro library for type checking. Defers to constructs' internal `[[Class]]` property rather than duck typing for excellent type detection and to avoid triggering false positives.

published version 1.0.1, 10 years ago1 dependents licensed under $MIT
35