Skip to content

alcanivorax/nero-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nero-env

npm version npm downloads license


nero-env preview

What is nero-env?

nero-env is a CLI tool for validating and comparing .env files against .env.example. It helps catch missing, empty, and unused environment variables early.


Installation

Install globally using npm:

npm install -g nero-env

Basic Usage

Run in your project directory:

nero-env

This will check for .env and .env.example files in the current directory.


Check a Specific Project

Specify a custom path:

nero-env --path ./apps/api

What it checks

  • Missing variables → defined in .env.example but not in .env
  • Empty values → defined in .env but has no value assigned
  • Unused variables → present in .env but not declared in .env.example

Output clearly shows which file needs fixing.

About

Validate and compare .env files to catch missing, empty, and unused variables.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors