Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emmenko/omit-empty-es

(fork of omit-empty) Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
https://github.com/emmenko/omit-empty-es

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

## `omit-empty-es`

This is a (_temporary_) **fork** of the [`omit-empty`](https://github.com/jonschlinkert/omit-empty) library by [Jon Schlinkert](https://github.com/jonschlinkert) 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

```bash
npm install --save omit-empty-es
```

```bash
yarn add omit-empty-es
```

### Usage

```js
import omitEmpty from 'omit-empty-es';
```