Search results
303 packages found
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
- primitive
- abstract
- ecmascript
- es5
- es6
- es2015
- toPrimitive
- coerce
- type
- object
- string
- number
- boolean
- symbol
- View more
Maintenance: None. Quality: 64%. Popularity: 45%.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Maintenance: None. Quality: 62%. Popularity: 33%.
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Maintenance: None. Quality: 62%. Popularity: 32%.
Validation utilities
Maintenance: 33%. Quality: 62%. Popularity: 6%.
Null writable stream
Maintenance: 33%. Quality: 63%. Popularity: 3%.
Typed Option/Optional/Maybe for TypeScript and JavaScript, created to simplify code involving optional values (null, undefined, NaN).
Maintenance: 33%. Quality: 64%. Popularity: 2%.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
- array
- assert
- assertion
- async
- async function
- async-function
- asyncFunction
- bool
- boolean
- browser
- check
- check-type
- checking
- class
- View more
Maintenance: 33%. Quality: 45%. Popularity: 13%.
A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.
- TypeScript
- isNullOrUndefined
- isEmpty
- isEqual
- isNumber
- randomNumberBetweenRange
- random number between range
- asyncForEach
- async for each
- delay
- convertTimeUnits
- convert time units
- getToday
- setEndOfDay
- View more
Maintenance: 32%. Quality: 63%. Popularity: 3%.
Coalesce for JavaScript. Returns the first value that is not undefined or null.
Maintenance: None. Quality: 62%. Popularity: 23%.
Prebuilt null Provider for Terraform CDK (cdktf)
Maintenance: 33%. Quality: 53%. Popularity: 8%.
A utility to determine if a value is null
Maintenance: 33%. Quality: 61%. Popularity: 0%.
Test if a value is null.
Maintenance: 33%. Quality: 51%. Popularity: 5%.
Checks if the given value is a window object.
Maintenance: None. Quality: 63%. Popularity: 17%.
Test if a value is a JavaScript primitive.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- valid
- primitive
- string
- number
- null
- undefined
- View more
Maintenance: 33%. Quality: 51%. Popularity: 3%.
Option<T>, Some<T>, None types and runtime functions to safely write JS/TS code without using null and undefined
Maintenance: 33%. Quality: 54%. Popularity: 0%.
A utility function that filters out null and undefined values from RxJS streams or arrays.
Maintenance: 33%. Quality: 51%. Popularity: 2%.
A Typescript assertion that only throws on null and undefined
Maintenance: 33%. Quality: 53%. Popularity: 1%.
Test if a value is undefined or null.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- undefined
- void
- null
- is
- isundefined
- isnull
- View more
Maintenance: 33%. Quality: 51%. Popularity: 2%.
A collection of monads (Result, Option) for TypeScript, inspired by [the Rust programming language](https://doc.rust-lang.org/std/result/).
Maintenance: 33%. Quality: 52%. Popularity: 1%.
Deep removes null from objects
Maintenance: 33%. Quality: 52%. Popularity: 1%.