merge-options.js
(require("merge-options"))(sources)
Deep-merge one or more options objects, recursively merging only plain object properties.
Parameters:
Name | Type | Description |
---|---|---|
sources |
Array.<Object> | One or more objects to merge into a new object. |
- Source:
- utils/merge-options.js
Returns:
A new object that is the merged result of all sources.
- Type
- Object