db313dfb0470966e419f916f9fd937ac2998c6ea.svn-base 191 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 var ownOr = require('own-or') module.exports = function ownOrEnv (object, field, env, bool) { var res = ownOr(object, field, process.env[env]) if (bool) res = !!+(res) return res }