beanify-env-options
v1.0.3
Published
beanify beanify-env-options
Downloads
2
Readme
beanify-env-options
install
npm i beanify-env-options
Environmental variable
BEANIFY_NATS_URL
:config opts.nats.urlBEANIFY_NATS_SERVERS
:config opts.nats.serversBEANIFY_NATS_USER
:config opts.nats.userBEANIFY_NATS_PASS
:config opts.nats.passBEANIFY_NATS_TOKEN
:config opts.nats.tokenBEANIFY_PINO_LEVEL
:config opts.log.level;enum:'fatal', 'error', 'warn', 'info', 'debug', 'trace', 'silent'
BEANIFY_DEV_MODE
: config opts.dev.modeBEANIFY_DEV_PREFIX
: config opts.dev.prefix
usage
const Beanify=require("beanify")
const beanifyEnvOptions=require("beanify-env-options")
const beanify=new Beanify(beanifyEnvOptions())