All Projects → wenderjean → checkdotenv

wenderjean / checkdotenv

Licence: MIT license
Verify environment variables presence for Node JS.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to checkdotenv

exenv
Exenv makes loading environment variables from external sources easy.
Stars: ✭ 35 (+191.67%)
Mutual labels:  dotenv, environment-variables, env
webpack-dotenv-plugin
Use dotenv with webpack.
Stars: ✭ 53 (+341.67%)
Mutual labels:  dotenv, environment-variables, env
ts-dotenv
Strongly-typed environment variables for Node.js
Stars: ✭ 18 (+50%)
Mutual labels:  dotenv, environment-variables, env
envfile
Parse and write environment files with Node.js
Stars: ✭ 42 (+250%)
Mutual labels:  dotenv, environment-variables, env
ini
📝 Go INI config management. support multi file load, data override merge. parse ENV variable, parse variable reference. Dotenv file parse and loader. INI配置读取管理,支持多文件加载,数据覆盖合并, 解析ENV变量, 解析变量引用。DotEnv 解析加载
Stars: ✭ 72 (+500%)
Mutual labels:  dotenv, environment-variables, env
php-env
A small and fast .env loader for PHP
Stars: ✭ 19 (+58.33%)
Mutual labels:  dotenv, environment-variables, env
dotenvy
Speed up your production sites by ditching .env for key/value variable pairs as Apache, Nginx, and shell equivalents
Stars: ✭ 31 (+158.33%)
Mutual labels:  dotenv, environment-variables, env
Dotenv Kotlin
🗝️ Dotenv is a module that loads environment variables from a .env file
Stars: ✭ 326 (+2616.67%)
Mutual labels:  dotenv, environment-variables
Sync Dotenv
Keep your .env in sync with .env.example
Stars: ✭ 393 (+3175%)
Mutual labels:  dotenv, environment-variables
envyable
The simplest yaml to ENV config loader.
Stars: ✭ 78 (+550%)
Mutual labels:  environment-variables, env
React Native Dotenv
Load react native environment variables using import statements for multiple env files.
Stars: ✭ 190 (+1483.33%)
Mutual labels:  dotenv, environment-variables
Phpdotenv
Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
Stars: ✭ 11,648 (+96966.67%)
Mutual labels:  dotenv, environment-variables
dotenv.net
A library to read .env files in a .NET Core environment
Stars: ✭ 126 (+950%)
Mutual labels:  dotenv, environment-variables
Dotenv Webpack
A secure webpack plugin that supports dotenv and other environment variables and only exposes what you choose and use.
Stars: ✭ 1,022 (+8416.67%)
Mutual labels:  dotenv, environment-variables
Env Var
Verification, sanitization, and type coercion for environment variables in Node.js
Stars: ✭ 201 (+1575%)
Mutual labels:  dotenv, environment-variables
Dotenv Flow
Loads environment variables from .env.[development|test|production][.local] files for Node.js® projects.
Stars: ✭ 537 (+4375%)
Mutual labels:  dotenv, environment-variables
Dotenv Java
🗝️ Dotenv is a no-dep, pure Java module that loads environment variables from a .env file
Stars: ✭ 72 (+500%)
Mutual labels:  dotenv, environment-variables
read-env
🔧 Transform environment variables into JSON object with sanitized values.
Stars: ✭ 60 (+400%)
Mutual labels:  environment-variables, env
envsafe
🔒 Makes sure you don't accidentally deploy apps with missing or invalid environment variables.
Stars: ✭ 705 (+5775%)
Mutual labels:  environment-variables, env
gconfigs
gConfigs - Config and Secret parser
Stars: ✭ 42 (+250%)
Mutual labels:  dotenv, environment-variables

checkdotenv

npm version Dependency Status Build Status

It's a project intended to verify if all environment variables previously wrote in the recipe are already set in process.env.

Dependencies

Node 6.4.0+

Install

npm install checkdotenv --save

Usage

First, define a file .env.example in your project root and then put the line below in top the entry file of your application.

require('checkdotenv').check();

Options

By default checkdotenv will looking for a recipe called .env.example but check method may receive a parameter to change that filename.

require('checkdotenv').check('yourfilename');

Test

npm run test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].