File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
1
# remove-undefined-objects
2
2
3
-
4
3
[ ![ Build] ( https://github.com/readmeio/remove-undefined-objects/workflows/CI/badge.svg )] ( https://github.com/readmeio/remove-undefined-objects/ ) [ ![ ] ( https://img.shields.io/npm/v/remove-undefined-objects )] ( https://npm.im/remove-undefined-objects )
5
4
6
- [ ![ ] ( https://d3vv6lp55qjaqc.cloudfront.net/items/1M3C3j0I0s0j3T362344/Untitled-2 .png )] ( https://readme.io )
5
+ [ ![ ] ( https://raw.githubusercontent.com/readmeio/.github/main/oss-header .png )] ( https://readme.io )
7
6
8
7
## Installation
9
8
@@ -15,7 +14,6 @@ npm install --save remove-undefined-objects
15
14
16
15
``` js
17
16
import removeUndefinedObjects from ' remove-undefined-objects' ;
18
- // const { default: removeUndefinedObjects } = require('remove-undefined-objects');
19
17
20
18
console .log (removeUndefinedObjects ({key: [], key2: 123 }));
21
19
// { key2: 123 }
You can’t perform that action at this time.
0 commit comments