Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/emmenko/omit-empty-es
- Owner: emmenko
- License: mit
- Created: 2019-03-25T17:35:28.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T16:11:52.000Z (9 months ago)
- Last Synced: 2024-04-13T21:47:05.117Z (9 months ago)
- Language: TypeScript
- Size: 1.52 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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';
```