mask-properties
v1.0.2
Published
mask object properties
Downloads
8
Maintainers
Readme
mask-properties
import { mask } from "mask-properties"
const person = {
name: 'Jim',
birthday: '1962-01-17',
credits: {
actor: [],
writer: []
}
}
mask(person, { name: true, credits: { writer: true } })
// { name: 'Jim', credits: { writer: [] } }