Ability to separate JSON returned by 'diff'
SlickNutter opened this issue · comments
SlickNutter commented
Would there be interest in having an exported function which receives an Object created by diff()
as an argument and returns an Object with 2 keys, new and old.
So that new includes:
- created values
- new values of modified elements
and old includes:
- deleted values
- old values of modified elements