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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    2
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i mask-properties

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

9.92 kB

Total Files

6

Last publish

Collaborators

  • rogerbf