{"_id":"omit-empty","_rev":"82249","name":"omit-empty","description":"Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:26:14.000Z","created":"2014-09-21T19:19:38.300Z","1.0.0":"2018-12-10T13:51:05.041Z","0.4.1":"2016-06-01T18:39:41.267Z","0.4.0":"2016-06-01T18:15:57.229Z","0.3.6":"2016-04-09T15:39:17.627Z","0.3.4":"2016-03-27T16:07:50.452Z","0.3.3":"2016-03-19T12:17:05.978Z","0.3.2":"2015-12-25T03:56:40.061Z","0.3.1":"2015-03-25T02:17:19.333Z","0.3.0":"2014-10-06T02:55:14.659Z","0.2.0":"2014-09-21T21:32:00.856Z","0.1.0":"2014-09-21T19:19:38.300Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/omit-empty.git"},"versions":{"1.0.0":{"name":"omit-empty","description":"Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/omit-empty","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/omit-empty.git"},"bugs":{"url":"https://github.com/jonschlinkert/omit-empty/issues"},"license":"MIT","main":"index.js","engines":{"node":">=4"},"scripts":{"test":"mocha"},"dependencies":{"kind-of":"^6.0.2"},"devDependencies":{"gulp-format-md":"^2.0.0","mocha":"^5.2.0"},"keywords":["clear","delete","empty","find","has","hasown","javascript","js","key","keys","node","node-js","object","omit","properties","property","remove","util","utilities","utility","value"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["is-plain-object","isobject","kind-of"]},"lint":{"reflinks":true}},"gitHead":"e75ce8feb5da07473ee47c01fa40d68b83158031","_id":"omit-empty@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.4.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"827ad1fdc569511bb9fb3f038a9171a7f10d9040","size":4055,"noattachment":false,"key":"/omit-empty/-/omit-empty-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/omit-empty/download/omit-empty-1.0.0.tgz"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/omit-empty_1.0.0_1544449864860_0.9778434352728214"},"_hasShrinkwrap":false,"publish_time":1544449865041,"_cnpm_publish_time":1544449865041},"0.4.1":{"name":"omit-empty","description":"Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.","version":"0.4.1","homepage":"https://github.com/jonschlinkert/omit-empty","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/omit-empty.git"},"bugs":{"url":"https://github.com/jonschlinkert/omit-empty/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"has-values":"^0.1.4","kind-of":"^3.0.3","reduce-object":"^0.1.3"},"devDependencies":{"gulp-format-md":"^0.1.9","mocha":"^2.5.3"},"keywords":["clear","delete","empty","find","has","hasown","javascript","js","key","keys","node","node-js","object","omit","properties","property","remove","util","utilities","utility","value"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["for-in","for-own","is-plain-object","reduce-object"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"87c378e0230cd9dbb4f474c93026a171bc1858bf","_id":"omit-empty@0.4.1","_shasum":"294a3782f2cb20c7497c4122b6237c9dcc0c63ab","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"294a3782f2cb20c7497c4122b6237c9dcc0c63ab","size":2014,"noattachment":false,"key":"/omit-empty/-/omit-empty-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/omit-empty/download/omit-empty-0.4.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/omit-empty-0.4.1.tgz_1464806379938_0.05294223804958165"},"directories":{},"publish_time":1464806381267,"_cnpm_publish_time":1464806381267,"_hasShrinkwrap":false},"0.4.0":{"name":"omit-empty","description":"Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.","version":"0.4.0","homepage":"https://github.com/jonschlinkert/omit-empty","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/omit-empty.git"},"bugs":{"url":"https://github.com/jonschlinkert/omit-empty/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"has-values":"^0.1.4","is-date-object":"^1.0.1","isobject":"^2.1.0","reduce-object":"^0.1.3"},"devDependencies":{"gulp-format-md":"^0.1.9","mocha":"^2.5.3"},"keywords":["clear","delete","empty","find","has","hasown","javascript","js","key","keys","node","node-js","object","omit","properties","property","remove","util","utilities","utility","value"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["for-in","for-own","is-plain-object","reduce-object"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"d08a0033a15d346857295f27860ab962f67d5c5b","_id":"omit-empty@0.4.0","_shasum":"467941f310868da3515b21ca5196d0398a7c908d","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"467941f310868da3515b21ca5196d0398a7c908d","size":1866,"noattachment":false,"key":"/omit-empty/-/omit-empty-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/omit-empty/download/omit-empty-0.4.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/omit-empty-0.4.0.tgz_1464804954864_0.9423537962138653"},"directories":{},"publish_time":1464804957229,"_cnpm_publish_time":1464804957229,"_hasShrinkwrap":false},"0.3.6":{"name":"omit-empty","description":"Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.","version":"0.3.6","homepage":"https://github.com/jonschlinkert/omit-empty","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/omit-empty.git"},"bugs":{"url":"https://github.com/jonschlinkert/omit-empty/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"has-values":"^0.1.4","is-date-object":"^1.0.1","isobject":"^2.0.0","reduce-object":"^0.1.3"},"devDependencies":{"gulp-format-md":"^0.1.7","mocha":"^2.4.5"},"keywords":["clear","delete","empty","find","has","hasown","javascript","js","key","keys","node","node-js","object","omit","properties","property","remove","util","utilities","utility","value"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["for-in","for-own","is-plain-object","reduce-object"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"880b372643d94ceb4171deb735e83c7b7005ec1e","_id":"omit-empty@0.3.6","_shasum":"6d38405f2aa61c911eb504fe68805c566d85c316","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"6d38405f2aa61c911eb504fe68805c566d85c316","size":2700,"noattachment":false,"key":"/omit-empty/-/omit-empty-0.3.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/omit-empty/download/omit-empty-0.3.6.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/omit-empty-0.3.6.tgz_1460216355108_0.5427835101727396"},"directories":{},"publish_time":1460216357627,"_cnpm_publish_time":1460216357627,"_hasShrinkwrap":false},"0.3.4":{"name":"omit-empty","description":"Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.","version":"0.3.4","homepage":"https://github.com/jonschlinkert/omit-empty","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/omit-empty.git"},"bugs":{"url":"https://github.com/jonschlinkert/omit-empty/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"has-values":"^0.1.4","is-date-object":"^1.0.1","isobject":"^2.0.0","reduce-object":"^0.1.3"},"devDependencies":{"gulp-format-md":"^0.1.7","mocha":"^2.4.5"},"keywords":["clear","delete","empty","find","has","hasown","javascript","js","key","keys","node","node-js","object","omit","properties","property","remove","util","utilities","utility","value"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["flatten-object","for-in","for-own","is-plain-object","mixin-deep","mixin-object","object-length","omit-empty","reduce-object"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"de4a9504af066365c4675e1a74d928aeae3fb6a1","_id":"omit-empty@0.3.4","_shasum":"df007f9f5ecd44fdccd831ccc37b50b2b0aefd30","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"df007f9f5ecd44fdccd831ccc37b50b2b0aefd30","size":2799,"noattachment":false,"key":"/omit-empty/-/omit-empty-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/omit-empty/download/omit-empty-0.3.4.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/omit-empty-0.3.4.tgz_1459094868013_0.7796532690990716"},"directories":{},"publish_time":1459094870452,"_cnpm_publish_time":1459094870452,"_hasShrinkwrap":false},"0.3.3":{"name":"omit-empty","description":"Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.","version":"0.3.3","homepage":"https://github.com/jonschlinkert/omit-empty","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/omit-empty.git"},"bugs":{"url":"https://github.com/jonschlinkert/omit-empty/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"has-values":"^0.1.3","is-date-object":"^1.0.1","isobject":"^2.0.0","reduce-object":"^0.1.3"},"devDependencies":{"gulp-format-md":"^0.1.7","mocha":"^2.4.5","should":"^8.2.2"},"keywords":["clear","delete","empty","find","has","hasown","javascript","js","key","keys","node","node-js","object","omit","properties","property","remove","util","utilities","utility","value"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["flatten-object","for-in","for-own","is-plain-object","mixin-deep","mixin-object","object-length","omit-empty","reduce-object"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"12091ff66a497b3616e2c10cee19008f3d68d7c8","_id":"omit-empty@0.3.3","_shasum":"3c97408ef7cc44b622a97c9521ce7a9fd0a45878","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"3c97408ef7cc44b622a97c9521ce7a9fd0a45878","size":2746,"noattachment":false,"key":"/omit-empty/-/omit-empty-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/omit-empty/download/omit-empty-0.3.3.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/omit-empty-0.3.3.tgz_1458389823601_0.3963874352630228"},"directories":{},"publish_time":1458389825978,"_cnpm_publish_time":1458389825978,"_hasShrinkwrap":false},"0.3.2":{"name":"omit-empty","description":"Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.","version":"0.3.2","homepage":"https://github.com/jonschlinkert/omit-empty","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/omit-empty.git"},"bugs":{"url":"https://github.com/jonschlinkert/omit-empty/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"has-values":"^0.1.3","isobject":"^2.0.0","reduce-object":"^0.1.3"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["clear","delete","empty","find","has","hasown","javascript","js","key","keys","node","node-js","object","omit","properties","property","remove","util","utilities","utility","value"],"verb":{"related":{"list":["arrayify-compact","compact-object","delete","flatten-object","for-in","for-own","has-any","has-value","is-number","is-plain-object","mixin-deep","mixin-object","object-length","omit-empty","reduce-object"]},"layout":"default","plugins":["gulp-format-md"]},"gitHead":"957e5aa242df34f7c9402fcd67ec3bbfbfe100ae","_id":"omit-empty@0.3.2","_shasum":"48887bdedee0d59032524c7ad52a4b0a8f61fc56","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"48887bdedee0d59032524c7ad52a4b0a8f61fc56","size":2995,"noattachment":false,"key":"/omit-empty/-/omit-empty-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/omit-empty/download/omit-empty-0.3.2.tgz"},"directories":{},"publish_time":1451015800061,"_cnpm_publish_time":1451015800061,"_hasShrinkwrap":false},"0.3.1":{"name":"omit-empty","description":"Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.","version":"0.3.1","homepage":"https://github.com/jonschlinkert/omit-empty","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/omit-empty.git"},"bugs":{"url":"https://github.com/jonschlinkert/omit-empty/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/omit-empty/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"has-values":"^0.1.2","isobject":"^1.0.0","reduce-object":"^0.1.3"},"devDependencies":{"mocha":"*","should":"^5.2.0"},"keywords":["clear","delete","empty","find","has","hasown","javascript","js","key","keys","node","node-js","object","omit","properties","property","remove","util","utilities","utility","value"],"gitHead":"4c7d2124b864da68ceb61dc301957b5fbfb0e592","_id":"omit-empty@0.3.1","_shasum":"5d57b085758f2045239073d53ee7878f996ee560","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"5d57b085758f2045239073d53ee7878f996ee560","size":2168,"noattachment":false,"key":"/omit-empty/-/omit-empty-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/omit-empty/download/omit-empty-0.3.1.tgz"},"directories":{},"publish_time":1427249839333,"_cnpm_publish_time":1427249839333,"_hasShrinkwrap":false},"0.3.0":{"name":"omit-empty","description":"Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/omit-empty","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/omit-empty.git"},"bugs":{"url":"https://github.com/jonschlinkert/omit-empty/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/omit-empty/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0"},"keywords":["clear","delete","empty","find","has","hasown","javascript","js","key","keys","node","node-js","object","omit","properties","property","remove","util","utilities","utility","value"],"dependencies":{"has-value":"^0.1.0","isobject":"^0.2.0","reduce-object":"^0.1.2"},"_id":"omit-empty@0.3.0","_shasum":"2d2672959ff814d025e8a2cfde0953e55dc17455","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"2d2672959ff814d025e8a2cfde0953e55dc17455","size":3259,"noattachment":false,"key":"/omit-empty/-/omit-empty-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/omit-empty/download/omit-empty-0.3.0.tgz"},"directories":{},"publish_time":1412564114659,"_cnpm_publish_time":1412564114659,"_hasShrinkwrap":false},"0.2.0":{"name":"omit-empty","description":"Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/omit-empty","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/omit-empty.git"},"bugs":{"url":"https://github.com/jonschlinkert/omit-empty/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/omit-empty/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0"},"keywords":["find","has","hasOwn","javascript","js","key","keys","omit","empty","node.js","object","properties","property","util","utilities","utility","value"],"dependencies":{"reduce-object":"^0.1.2"},"_id":"omit-empty@0.2.0","_shasum":"9c0f0e088e35e8e05a59f89c3dce8a4a2242aca4","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"9c0f0e088e35e8e05a59f89c3dce8a4a2242aca4","size":3154,"noattachment":false,"key":"/omit-empty/-/omit-empty-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/omit-empty/download/omit-empty-0.2.0.tgz"},"directories":{},"publish_time":1411335120856,"_cnpm_publish_time":1411335120856,"_hasShrinkwrap":false},"0.1.0":{"name":"omit-empty","description":"Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/omit-empty","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/omit-empty.git"},"bugs":{"url":"https://github.com/jonschlinkert/omit-empty/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/omit-empty/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0"},"keywords":["find","has","hasOwn","javascript","js","key","keys","omit","empty","node.js","object","properties","property","util","utilities","utility","value"],"_id":"omit-empty@0.1.0","_shasum":"402c16f25c7d3dd054149d80db325a1a151397ab","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"402c16f25c7d3dd054149d80db325a1a151397ab","size":3116,"noattachment":false,"key":"/omit-empty/-/omit-empty-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/omit-empty/download/omit-empty-0.1.0.tgz"},"directories":{},"publish_time":1411327178300,"_cnpm_publish_time":1411327178300,"_hasShrinkwrap":false}},"readme":"# omit-empty [![NPM version](https://img.shields.io/npm/v/omit-empty.svg?style=flat)](https://www.npmjs.com/package/omit-empty) [![NPM monthly downloads](https://img.shields.io/npm/dm/omit-empty.svg?style=flat)](https://npmjs.org/package/omit-empty) [![NPM total downloads](https://img.shields.io/npm/dt/omit-empty.svg?style=flat)](https://npmjs.org/package/omit-empty) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/omit-empty.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/omit-empty)\n\n> Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save omit-empty\n```\n\n## Heads up!\n\nBreaking changes in v1.0.0! See the [Release History](#CHANGELOG.md).\n\n## Usage\n\n```js\nconst omitEmpty = require('omit-empty');\n\nconsole.log(omitEmpty({ a: 'a', b: '' }));\n//=> { a: 'a' }\n\nconsole.log(omitEmpty({ a: 'a', b: { c: 'c', d: '' } }));\n//=> { a: 'a', b: { c: 'c' } }\n\nconsole.log(omitEmpty({ a: ['a'], b: [] }));\n//=> { a: ['a'] }\n\nconsole.log(omitEmpty({ a: 0, b: 1 }));\n//=> { a: 0, b: 1 }\n\n// set omitZero to true, to evaluate \"0\" as falsey\nconsole.log(omitEmpty({ a: 0, b: 1 }, { omitZero: true }));\n//=> { b: 1 }\n```\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [is-plain-object](https://www.npmjs.com/package/is-plain-object): Returns true if an object was created by the `Object` constructor. | [homepage](https://github.com/jonschlinkert/is-plain-object \"Returns true if an object was created by the `Object` constructor.\")\n* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject \"Returns true if the value is an object and not an array or null.\")\n* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of \"Get the native type of a value.\")\n\n### Contributors\n\n| **Commits** | **Contributor** |  \n| --- | --- |  \n| 31 | [jonschlinkert](https://github.com/jonschlinkert) |  \n| 1  | [kakadiadarpan](https://github.com/kakadiadarpan) |  \n\n### Author\n\n**Jon Schlinkert**\n\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n\n### License\n\nCopyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on December 10, 2018._","_attachments":{},"homepage":"https://github.com/jonschlinkert/omit-empty","bugs":{"url":"https://github.com/jonschlinkert/omit-empty/issues"},"license":"MIT"}