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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    2
  • 0.1.2
    1
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i fill-object

Weekly Downloads

3

Version

0.1.3

License

MIT

Unpacked Size

6.08 kB

Total Files

7

Last publish

Collaborators

  • giancarl021