1.1.0 • Published 8 years ago
tiny-conf v1.1.0
tiny-conf
const conf = require('tiny-conf');API
.get(path): {*}
returns the value stored at that path or undefined
.set(path, value): {boolean}
stores value at path location
returns true on success, false otherwise
.merge(path, value): {boolean}
merges value at path location
returns true on success, false otherwise
.clear(): undefined
removes everything from the store
.print(): undefined
outputs the current store content using console.dir()
Acknowledgements
In-memory store type is from indexzero's nconf module.