1.0.5 • Published 3 years ago

tgw-env-require v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

tgw-knex-extensions

npm i tgw-env-require

HOW TO USE:

import envRequire from 'tgw-env-require'
envRequire('env1','env2','env3')

When process.env.env1 not exist throw error 'ENV env1 not provided'\ When process.env.env2 not exist throw error 'ENV env2 not provided'\ When process.env.env3 not exist thorw error 'ENV env3 not provided'

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago