1.0.5 • Published 7 months ago

environment-variable-validator v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

environment variable validator

Env validator for validating the environment variables in your application

Installation

Using npm

If you prefer to use npm, open your terminal and run the following command:

npm install environment-variable-validator

Using Yarn

If you prefer Yarn, open your terminal and run the following command:

yarn add environment-variable-validator

How to use

Node js

import { validate_env_variable } from 'environment-variable-validator'

//Passing env variables and its types for validation
validate_env_variable({
DATABASE_URL: 'string'
})
 
1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago