compact-obj

0.1.1 • Public • Published

object

remove all empty values from an object recursively.

Installation

$ npm install compact-obj

Example

var compact = require('compact-obj');

var new = compact({obj:'', cool:'foo'});
//= {cool:'foo'}

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i compact-obj

Weekly Downloads

0

Version

0.1.1

License

none

Last publish

Collaborators

  • nickjackson