nua
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

nua

npm version Build Status Coverage Status Dependency Status DeepScan grade

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.

Readme

Keywords

none

Package Sidebar

Install

npm i nua

Weekly Downloads

4,516

Version

2.0.1

License

MIT

Unpacked Size

13.9 kB

Total Files

8

Last publish

Collaborators

  • rjrodger