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

Versions

Current Tags

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

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i nulled-out

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • michaelrhodes