Search results
293 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
Typed Option/Optional/Maybe for TypeScript and JavaScript, created to simplify code involving optional values (null, undefined, NaN).
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Simple function that return the first non null or undefined argument
Common error classes and utility functions
- error
- errors
- common errors
- exception
- exceptions
- validation
- standard
- argument
- null
- database
- data
- mysql
- sql
- db
- View more
Politely tells stdout and stderr to shut the heck up for a moment.
Recursively remove deeply nested properties and/or falsey values (excluding 0), empty objects, and empty arrays.
returns a copy of an array or object with null/undefined members removed
Java 8 Optionals for JS
Check if something exists (e.g. not null || undefined)
Validation utilities
Minimal object-to-json formatting and chopping tool.
A library to prune a JS object from nulls, recursively.
This little utility helps in finding null, undefined etc values from objects and arrays.
Check if a given value is empty in JS extending his "truthy" and "falsy" nature
TypeScript maybe monad for reaching child fields inside complicated objects.
Try to parse a string as JSON and return undefined on failure
- invalid
- circular
- json
- parse
- stringify
- serialize
- parsing
- serialization
- stringification
- try
- catch
- try/catch
- exception
- exceptions
- View more
'cljs-merge' recursively merges two jsons into a unified one.
- json
- merge
- clojurescript
- clojure
- deep-merge
- deep
- replace
- compare
- null
- undefined
- combine
- object
- two objects
- javascript