@hiweus/env-ensurer
v0.2.0
Published
Lib to parse and interpret environment.d.ts and validate on runtime
Downloads
198
Maintainers
Readme
Environment ensurer :hammer_and_wrench:
This project project validate environment variables at service startup to make sure no configuration is missing.
How to use ? :blue_book:
It is just simple, just import and put into your application entrypoint.
import { parserEnvironment } from '@hiweus/env-ensurer'
// OR
const { parserEnvironment } = require('@hiweus/env-ensurer')
parserEnvironment('src/environment.d.ts')