Message from JavaScript discussions

February 2018

— While the reducing operation shouldn't know about either mongo nor redis

— 

Hey guys, do you know where or have a function which removes one structure from another? Some kind of Object1 - Object2 = reduced Object1

— Http://ramdajs.com/docs/#omit

— Depends a bit on what you mean by subtract

— Objects have keys and values

— Seem to work on single level, need to recurse further

— Value can be antoher object

— Do you want to remove keys from Object1 that exist in Object2?

— Object2 is a remove map of the structure

— It may not contain data, only key structure

— Ahh

— Floofies wrote this library: https://www.npmjs.com/package/differentia#diffclone