extendify

node package manager npm On-Site npm Private Packages npm Open Source documentation support sign up or log in extendify Deep extend with customizable behavior for Node.js Deep extend with customizable behavior for Node.js. "Extedify" is a lightweight wrapper over lodash 's _.merge (like a deep _.extend ) with customizable handling of arrays, booleans, numbers and strings. (By default, extedify will behave exactly like lodash's _.merge .) Installation npm install extendify Usage var extendify = require ( ' extendify ' ) ; myExtend = extendify ( { // options } ) ; Options inPlace – Override the 'source' with the result? true ( default ) false isDeep – Use deep extend? true ( default ) false arrays – How to handle arrays? replace ( recommended ) concat merge ( default ) or and booleans – How to handle booleans? ...

Linked on 2016-01-27 18:55:04 | Similar Links