tryor

return fn() or default value (in case of exception)

default-value

Lets you easily define a default value for undefined options, with optional support for Promises

nco

Applies a default value to a variable if it is null or undefined.

default-val

Get a default value when a value is nullish or invalid type