Skip to content

vh/mustenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mustenv

Returns the value of the environment variable if present, or exits the process otherwise

Install

npm install mustenv

Usage

const mustEnv = require('mustenv');

const VAR1 = mustEnv('VAR1');
const VAR2 = mustEnv('VAR2');

About

Returns the value of the environment variable if present, or exits the process otherwise

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors