0.1.3 • Published 9 years ago
dictionary-mgr v0.1.3
dictionary-mgr
memory based dictionary singleton for debug purposes
To use, require as follows in any file you want to use it (not an uber object): var dictionaryMgr = require('dictionary-mgr').getSingleton();
Include it at server start time to ensure default values are set. e.g. server start time and environment variables
Example usage: dictionaryMgr.incrementDictValue("upload start"); dictionaryMgr.setDictValue("process.env",process.env)