[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#924951: RFP: node-underscore-deep-extend -- A deepExtend implementation for underscore, lodash and friends



Package: wnpp
Severity: wishlist

* Package name    : node-underscore-deep-extend
  Version         : 1.1.5
  Upstream Author : Kurt Milam (http://xioup.com)
* URL             : https://salsa.debian.org/themusicgod1-guest/underscoreDeepExtend
* License         : MIT
  Programming Lang: javascript
  Description     : A deepExtend implementation for underscore, lodash and friends

Based conceptually on the _.extend() function in underscore.js.

(Extend: to Shallowly copy all of the properties in the source objects over to the destination object, 
and return the destination object. Any nested objects or arrays will be copied by reference, not duplicated. 
It's in-order, so the last source will override properties of the same name in previous arguments.)

This function is especially useful if you're working with JSON config documents. 
It allows you to create a default config document with the most common settings, 
then override those settings for specific cases. It accepts any number of objects as arguments, 
giving you fine-grained control over your config document hierarchy.

It is a prerequisite of mist ( #827314 ) 


Reply to: