Comparing version 1.3.1 to 1.4.0
10
index.js
@@ -29,3 +29,3 @@ 'use strict'; | ||
}, | ||
get: function(props){ | ||
get: function(props, returnObject){ | ||
if(!arguments.length){ | ||
@@ -45,3 +45,7 @@ return config; | ||
} | ||
return finalResult.join(''); | ||
if(returnObject){ | ||
return finalResult; | ||
} else { | ||
return finalResult.join(''); | ||
} | ||
} | ||
@@ -110,3 +114,3 @@ }, | ||
env: function(){ | ||
// @TODO | ||
// @TODO | ||
}, | ||
@@ -113,0 +117,0 @@ defaults: function(obj, save){ |
{ | ||
"name": "cz", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"description": "A simple config utility for nodejs", | ||
@@ -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
7281
125