Search results

311 packages found

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

published version 1.3.0, 8 months ago1233 dependents licensed under $MIT
214,363,402

Returns true if a value exists, false if empty. Works with deeply nested values using object paths.

published version 2.0.2, 7 years ago700 dependents licensed under $MIT
147,442,440

Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.

published version 2.0.1, 7 years ago662 dependents licensed under $MIT
147,768,814

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,340,232

Checks if the given value is a window object.

published version 1.0.2, 9 years ago103 dependents licensed under $MIT
7,585,928

Ensure a path doesn't contain null bytes

published version 3.0.0, 4 years ago21 dependents licensed under $MIT
3,539,463

GraphQL Semantic Output Conversion Kit - converts a cutting edge SDL file that supports semantic nullability into a more traditional SDL file legacy tools can support.

published version 1.0.1, 4 months ago2 dependents licensed under $MIT
1,235,760

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

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

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,105,356

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
664,247

Simple function that return the first non null or undefined argument

published version 1.0.0, 10 years ago8 dependents licensed under $MIT
593,708

Checks if the given value is null or undefined

published version 1.0.1, 9 years ago46 dependents licensed under $MIT
782,504

3x as fast as `is-whitespace` and `whitespace-regex` thanks to `is-string-blank`. This package is a simple function that accepts an argument and returns `true` if it is a string AND it is not blank. Supports Node and Browser environments.

published version 0.0.2, 6 years ago29 dependents licensed under $MIT
574,757

Return an empty module, 'nuff said

published version 0.0.2, 12 years ago12 dependents licensed under $MIT
103,176

Prebuilt null Provider for Terraform CDK (cdktf)

published version 11.0.0, a month ago13 dependents licensed under $MPL-2.0
101,440

Common error classes and utility functions

published version 1.2.0, 5 years ago139 dependents licensed under $MIT
31,013

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,270

Test if a value is null.

published version 0.2.2, a year ago9 dependents licensed under $Apache-2.0
14,500

Validation utilities

published version 11.0.1, 9 months ago12 dependents licensed under $MIT
13,888

Check if a given value is empty in JS extending his "truthy" and "falsy" nature

published version 1.0.1, 9 years ago3 dependents licensed under $MIT
10,183