cleaner-node
Advanced tools
Comparing version 0.18.0 to 0.18.1
{ | ||
"name": "cleaner-node", | ||
"version": "0.18.0", | ||
"version": "0.18.1", | ||
"description": "Helpful utilities and scripts to make Node projects more legible and easier for the next developer to take over.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,4 +5,4 @@ const { isValidBoolean } = require('./booleans'); | ||
module.exports.getAll = (proper = true, valid = true) => { | ||
const vars = {}; | ||
const vars = (proper = true, valid = true) => { | ||
const result = {}; | ||
Object | ||
@@ -18,4 +18,10 @@ .keys(process.env) | ||
.forEach(key => { | ||
vars[key] = process.env[key]; | ||
result[key] = process.env[key]; | ||
}); | ||
return result; | ||
}; | ||
module.exports = { | ||
vars | ||
}; | ||
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
86456
2179