UNPKG

carcass-config

Version:

(Node.js) A config file loader and manager, in Carcass style.

11 lines (9 loc) 189 B
fs = require('fs') ###* * Read file. * * @return {String} the file content ### module.exports = (item) -> return if not fs.existsSync(item) return fs.readFileSync(item, 'utf8')