Skip to content
/ mustenv Public

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

License

Notifications You must be signed in to change notification settings

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

No packages published