npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

mask-properties

1.0.2 • Public • Published

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: [] } }

install

npm i mask-properties

Downloadsweekly downloads

25

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability