1.0.0 • Published 3 years ago

@lysyi3m/smart-dotenv v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

smart-dotenv

Ligthweight, zero-dependency library to load environment variables from a .env file with support of defaults and fallback to process.env values.

Node.js CI npm version

Description

Heavily inspired by dotenv and dotenv-defaults with full API-compatibility

smart-dotenv library retains the ability to use regular environment variables without providing .env or .env.defaults files, which is useful for CI/CD.

Installation

$ npm install @lysyi3m/smart-dotenv

or using Yarn:

$ yarn add @lysyi3m/smart-dotenv
1.0.0

3 years ago