Comparing version 0.0.0 to 0.0.1
@@ -12,3 +12,3 @@ 'use strict'; | ||
if (key.indexOf(PREFIX) === 0) { | ||
var tmp = config; | ||
var tmp = object; | ||
key.slice(PREFIX.length).split(delim).forEach((prop, i, all) => { | ||
@@ -19,3 +19,3 @@ if ((i + 1) < all.length) { | ||
var value = process.env[key]; | ||
// either the initial config is an Array | ||
// either the initial object is an Array | ||
// or the string contains a,b,b but not a\,b\,c * | ||
@@ -22,0 +22,0 @@ // * to allow use of comma in single value |
{ | ||
"name": "env2object", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "will read in environment variables and place them into an object", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
12830
9