1.0.3 • Published 4 years ago

beanify-env-options v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

beanify-env-options

install

npm i beanify-env-options

Environmental variable

  • BEANIFY_NATS_URL:config opts.nats.url
  • BEANIFY_NATS_SERVERS:config opts.nats.servers
  • BEANIFY_NATS_USER:config opts.nats.user
  • BEANIFY_NATS_PASS:config opts.nats.pass
  • BEANIFY_NATS_TOKEN:config opts.nats.token
  • BEANIFY_PINO_LEVEL:config opts.log.level;enum:'fatal', 'error', 'warn', 'info', 'debug', 'trace', 'silent'
  • BEANIFY_DEV_MODE: config opts.dev.mode
  • BEANIFY_DEV_PREFIX: config opts.dev.prefix

usage

const Beanify=require("beanify")
const beanifyEnvOptions=require("beanify-env-options")

const beanify=new Beanify(beanifyEnvOptions())
1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago