ObjectTools
A library for set and equality operations on objects.
Install
$ npm install obsops
Use
// a deep copy of objectlet copy = obsops; // a frozen deep copy of objectlet frozen = obsops; // a union of multiple objectslet union = obsops; // an intersection of multiple objects, intersected by keylet isectKey = obsops; // an intersection of multiple objects, intersected by valuelet isectValue = obsops; // the difference between multiple objects, resolved from right to left by keylet diffKey = obsops; // the difference between multiple objects, resolved from right to left by valuelet diffValue = obsops;