shelf-merge
v0.2.1
Published
shelf merge function
Downloads
7
Readme
Install
let {shelf_merge} = require('shelf-merge')
or
<script src="https://unpkg.com/shelf-merge"></script>
Use
let {shelf_merge} = require('shelf-merge')
let shelf = [{hello: "world"}, [1, {hello: 1}]]
console.log(shelf[0].hello) // direct reads
let change = shelf_merge(shelf, {more: "data"}) // version info infered