# omit-empty-es

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

Latest version **1.2.0** (published 2023-06-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install omit-empty-es
pnpm add omit-empty-es
yarn add omit-empty-es
bun add omit-empty-es
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2023-06-29 |
| First published | 2019-03-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 30.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Maintainers | emmenko, emmenko-bot |
| Keywords | clear, delete, empty, find, has, hasown, javascript, js, key, keys, node, node-js, object, omit, properties, property, remove, util, utilities, utility, value |

## Links

- npm: https://www.npmjs.com/package/omit-empty-es
- Repository: https://github.com/emmenko/omit-empty-es
- Issues: https://github.com/emmenko/omit-empty-es/issues
- npm.io page: https://npm.io/package/omit-empty-es

## Dependencies (2)

- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.22.5
- [@babel/runtime-corejs3](https://npm.io/package/@babel/runtime-corejs3.md) ^7.22.5

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.2.0 (latest) — 2023-06-29
- 0.0.0-canary-20230629204130 (canary) — 2023-06-29
- 0.0.0-canary-20230629203921 — 2023-06-29
- 0.0.0-canary-20230629203448 — 2023-06-29
- 1.1.3 — 2021-01-29
- 0.0.0-canary-202102910177 — 2021-01-29
- 0.0.0-canary-2021029101229 — 2021-01-29
- 0.0.0-canary-202101519644 — 2021-01-15
- 0.0.0-canary-202108182517 — 2021-01-08
- 1.1.2 — 2020-12-11
- 0.0.0-canary-202011111678 — 2020-12-11
- 1.1.1 — 2020-12-11
- 0.0.0-canary-20201111155858 — 2020-12-11
- 0.0.0-canary-20201111155732 — 2020-12-11
- 1.1.0 — 2020-12-05
- … 5 more at https://npm.io/package/omit-empty-es/versions

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

---
_Source: https://npm.io/package/omit-empty-es · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
