emmenko / omit-empty-es

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:TypeScript 72.3%Language:JavaScript 19.3%Language:Prolog 6.7%Language:Shell 1.8%