Comparing version 0.1.3 to 0.1.4
@@ -45,3 +45,3 @@ // Copyright Teleportd | ||
* ================================= | ||
* var fwk = require('pipes'); | ||
* var fwk = require('fwk'); | ||
* var config = fwk.baseConfig(); | ||
@@ -51,2 +51,4 @@ * | ||
* config['PIPES_TIMEOUT'] = 30000; | ||
* | ||
* exports.config = config; | ||
* ================================= | ||
@@ -57,4 +59,2 @@ */ | ||
/** export merged configuration */ | ||
exports.config = config; | ||
@@ -105,14 +105,15 @@ /** | ||
/** | ||
* fwk base config | ||
*/ | ||
var config = { | ||
'DEBUG': false, | ||
'HMAC_ALGO': 'sha512', | ||
}; | ||
/** | ||
* Generates a base config object to be populated by populateConfig() | ||
*/ | ||
exports.baseConfig = function() { | ||
return base.shallow(config); | ||
/** | ||
* fwk base config | ||
*/ | ||
var base_config = { | ||
'DEBUG': false, | ||
'HMAC_ALGO': 'sha512', | ||
}; | ||
return base.shallow(base_config); | ||
}; |
{ | ||
"name": "fwk", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Simple JS framework for node.js", | ||
@@ -5,0 +5,0 @@ "keywords": ["fwk", "node"], |
Sorry, the diff of this file is not supported yet
33322