rec.
← BACK TO CODE

lookenv

Validate environment variables before an app starts

00OVERVIEW

A Node.js command-line tool for required environment variables, defaults, and Joi schemas. It works with dotenv and runs validation before launching the application.

STATUS
LEGACY
STACK
JavaScriptNode.jsJoidotenv
REPOSITORY
github.com/RodrigoEspinosa/lookenv
LINK
www.npmjs.com/package/lookenv
01THE WORK
CONTRIBUTION
Configuration format, validation CLI, and environment-loading integration.
OUTCOME
Required variables are checked before startup, with defaults supplied by project configuration.
Example lookenv configuration with a required variable and a default
Configuration example from the public README; not a runtime screenshot.
02QUICK START
  1. STEP 01

    Install

    bash
    npm install lookenv
03CONFIGURATION

Validate before startup

bash
lookenv -- node index.js

READY TO TRY LOOKENV?

VIEW ON GITHUB