object-substract
1.0.2 • Public • Published
object-substract
Lightweight and easy to use tool for deeply removing a subset of fields from an object.
import substract from 'object-substract'
const source = {
foo: [
{ foo: 'foo' },
{ bar: 'bar' },
0,
]
}
const target = {
foo: [
{ foo: 'foo' },
0,
]
}
console.log(substract(source, target))
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads