(fork of omit-empty) Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.


Keywords
clear, delete, empty, find, has, hasown, javascript, js, key, keys, node, node-js, object, omit, properties, property, remove, util, utilities, utility, value
License
MIT
Install
npm install omit-empty-es@1.0.3

Documentation

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';