nodeutils

nodeutils/defaults-deep

Like lodash's _.defaultsDeep, but with array preservation

JavaScript
2
2
No license

This is a utility function for deep merging JavaScript objects, similar to lodash's `defaultsDeep` but with two key differences: it doesn't mutate the source objects and it preserves arrays from the first object rather than merging them. It's designed for Node.js developers who need to merge configuration objects or similar data structures while maintaining array values from the primary source object. The function takes multiple source objects in descending order of importance and returns a new merged object.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of nodeutils/defaults-deep

Account's avatar
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Account's avatar
Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale
Account's avatar
A lean, modular web server for rapid full-stack development
Account's avatar
simple, flexible, fun test framework

Support the repos that depend on nodeutils/defaults-deep

Top contributors

drewdotpro's profile
drewdotpro
8 contributions
vmx's profile
vmx
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet