Skip to content

Helpful Hands

Latest
Compare
Choose a tag to compare
@BolajiOlajide BolajiOlajide released this 04 Jan 16:36
· 2 commits to main since this release

This release adds some useful helpers for env-utils with typescript.

Instead of casting the type EnvValue to whatever format you want, you can make use of the following utility functions which return variables of a single type.

  • getStringEnv
  • getNumericEnv
  • getBoolEnv
  • getArrayEnv