condense-keys
Advanced tools
+1
-1
@@ -8,3 +8,3 @@ 'use strict'; | ||
| Object.keys(o).forEach(function (key) { | ||
| if (!o[key]) { | ||
| if (o[key] === undefined || o[key] === null || o[key] === '') { | ||
| delete o[key]; | ||
@@ -11,0 +11,0 @@ } |
+1
-1
| { | ||
| "name": "condense-keys", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "description": "Remove keys with empty values from an object", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
2490
2.01%