0.1.3 • Published 1 year ago

fill-object v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

fill-object

Fill deep properties missing in an object based on a default object

Similar projects

Why?

This package is a simple and lightweight alternative to the Lodash function, to fill an partial object with a default value. This package is made specifically to deal with nested options objects, where a schema must be followed, so, as a side-effect, any property that is not in the schema will be removed.

Documentation and Source-Code

You can find the full documentation and source-code of this package here.