Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 698 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 698 Bytes

remove-undefined-objects

Build

Installation

npm install --save remove-undefined-objects

Usage

import removeUndefinedObjects from 'remove-undefined-objects';
// const { default: removeUndefinedObjects } = require('remove-undefined-objects');

console.log(removeUndefinedObjects({key: [], key2: 123}));
// { key2: 123 }