Given two objects, get the seamless-immutable-diff between them
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install seamless-immutable-diff --save
Usage
;; const from = ;const to = beep: hello: 'world' foo: bar: false ;const result = ; // will be true since from.foo is deep equal to to.fooconsole;// will be a seamless-immutable object { hello: 'world' }console;
Tests
npm installnpm test
Dependencies
- dift: Super fast list diff algorithm
- immutable-array-methods: Immutable versions of normally mutable array methods, such as pop(), push(), splice()
Dev Dependencies
- ava: Futuristic test runner 🚀
- babel-cli: Babel command line.
- babel-core: Babel compiler core.
- babel-preset-es2015: Babel preset for all es2015 plugins.
- nyc: a code coverage tool that works well with subprocesses.
- package-json-to-readme: Generate a README.md from package.json contents
- seamless-immutable: Immutable data structures for JavaScript which are backwards-compatible with normal JS Arrays and Objects.
- semistandard: All the goodness of
feross/standard
with semicolons sprinkled on top. - snazzy: Format JavaScript Standard Style as Stylish (i.e. snazzy) output
License
MIT
Generated by package-json-to-readme