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

    7

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    9.92 kB

    Total Files

    6

    Last publish

    Collaborators

    • rogerbf