Skip to main content

Module dotenv

Module dotenv 

Source
Expand description

Minimal .env loading — KEY=VALUE lines, no interpolation.

Functions§

load
Load .env and then .env.local from dir, without overriding variables that are already set in the environment.
parse
Parse dotenv text into key/value pairs. Supports comments, blank lines, an optional export prefix, and single- or double-quoted values. Malformed lines are skipped.