savable
a tool to detect if an object is changed,it can used for smoothly data saving.
install
npm install savable --save
how to use
let wrap = wraptest = 2wrapobj = {} consoledirwrap //{ test: 2, obj: {} }console //true wrap__changed = false console //false wrapobjceshi = "what"console //true wrap__changed = false console //false delete wrapobj consoledirwrap //{ test: 2 }console //true