Comparing version 1.0.0 to 1.1.0
@@ -5,2 +5,4 @@ module.exports = function(o){ | ||
module.exports.replacer = replacer; | ||
function replacer(key, value) { | ||
@@ -7,0 +9,0 @@ if (value === null || value === '') { |
{ | ||
"name": "groom", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "JSON.parse(JSON.stringify(myObject)) and remove all nulls and empty strings", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "node test.js" | ||
"test": "_mocha" | ||
}, | ||
@@ -9,0 +9,0 @@ "repository": { |
# groom | ||
Does JSON.parse(JSON.stringify(myObject)) and removes all nulls and empty strings. | ||
Does JSON.parse(JSON.stringify(myObject)) and removes all nulls, undefined and empty strings. | ||
@@ -4,0 +4,0 @@ ```js |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16
26484