nua
v2.0.1
Published
Reference-preserving merge
Downloads
28,290
Readme
nua
Reference-preserving merge.
var base = {a:{b:1}}
var base_a = base.a
var src = {a:{b:2}}
Nua(base,src)
expect(base).equal({a:{b:2}})
expect(base_a === base.a).true()
Install
npm install nua
Notes
From the Irish nua. Pronounced noo-ah.
License
Copyright (c) 2014-2016, Seamus D'Arcy and other contributors. Licensed under MIT.