Search results
278 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
- primitive
- abstract
- ecmascript
- es5
- es6
- es2015
- toPrimitive
- coerce
- type
- object
- string
- number
- boolean
- symbol
- View more
Undefined safe way of extracting object properties
return the first argument that is `!== undefined`
Coalesce for JavaScript. Returns the first value that is not undefined or null.
Safe Window Getters
A library to have a generic typescript definition for object presence.
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
Returns true if the given is falsey (according to JavaScript) or matches a 'falsey' keyword.
Checks if the given value is null or undefined
Simple function that return the first non null or undefined argument
Check if a value is undefined or not.
A simple module that works exactly as Object.assign, but skips assigning undefined values.
TypeScript recursive conversion between optional (partial) and undefined properties.
returns a copy of an array or object with null/undefined members removed
Validates if a value is undefined or null.
Check for a valid Number value.
Validates if a value is undefined.
Safe Window Getters
Next JavaScript Object Notation
A small safe accessor that uses reduce to prevent 'Cannot read property of undefined' errors