nulled-out

1.0.0 • Public • Published

nulled-out

nulled-out creates a copy on an object with nulled-out values.

Build status

Install

$ npm install nulled-out

Example

var nulled = require('nulled-out')
 
nulled({
  name: { type: 'string' },
  human: { type: 'boolean' },
  likes: { type: 'array' }
})
 
/*
{
  name: null,
  human: null,
  likes: null
}
*/

Suss out my motivation…

License

MIT

/nulled-out/

    Package Sidebar

    Install

    npm i nulled-out

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • michaelrhodes