JSPM

  • Created
  • Published
  • Downloads 5316
  • Score
    100M100P100Q133397F
  • License MIT

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

Package Exports

  • omit-empty-es
  • omit-empty-es/dist/omit-empty-es.cjs.js
  • omit-empty-es/dist/omit-empty-es.esm.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (omit-empty-es) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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