fill-object
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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.

Package Sidebar

Install

npm i fill-object

Weekly Downloads

53

Version

0.1.3

License

MIT

Unpacked Size

6.08 kB

Total Files

7

Last publish

Collaborators

  • giancarl021