42 packages found
Like `extend` but only copies missing properties/values to the target object.
A function to assign default values to undefined values in an object
Lets you retrieve argument names, including default values from outside a function.
Middleware for setting default values in requests.
A small utility module that converts function arguments to an object for use within the function based on a supplied metadata object. This allows parameters to be passed in any order, making the resultant function very flexible.
Sets default values in request properties according to defaults defined in openapi parameter lists.
Wrap and validate optional values
Type-safe storage library with fallback values
Concise schema validator and generator
Assigns default values to an object along with validating for required and unknown property keys.
Simple options manager for JavaScript libraries. Handles type checking, default values assignation and throws generated usage on errors.
Small and fast library to set default values.
A pack of functions for working with Sets.
- extra
- set
- default
- entry
- key
- keys
- length
- randomKey
- search
- searchAll
- value
- CombineFunction
- CompareFunction
- EndFunction
- View more
Wrap and validate optional values
For easily creating and sharing typed CSS vars for the lit.dev ecosystem.
A pack of functions for working with Sets {web}.
- extra
- set
- default
- entry
- key
- keys
- length
- randomKey
- search
- searchAll
- value
- CombineFunction
- CompareFunction
- EndFunction
- View more
JavaScript library to merge custom object with default values
Like `extend` but recursively copies only the missing properties/values to the target object.