1.0.0 • Published 9 years ago

nulled-out v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

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