omit-empty-es
v1.2.0
Published
(fork of omit-empty) Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
Downloads
35,643
Readme
omit-empty-es
This is a (temporary) fork of the omit-empty
library by Jon Schlinkert and is meant to produce a bundle that is properly consumed by modern build tools (Babel, Webpack, etc.).
Hopefully we can merge those changes upstream and this repository/package won't be necessary anymore.
Install
npm install --save omit-empty-es
yarn add omit-empty-es
Usage
import omitEmpty from 'omit-empty-es';