omit-empty-es

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

Usage no npm install needed!

<script type="module">
  import omitEmptyEs from 'https://cdn.skypack.dev/omit-empty-es';
</script>

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