New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

dotenv-export

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenv-export

Sourcing .env into your shell.

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
73
10.61%
Maintainers
2
Weekly downloads
 
Created
Source

dotenv-export

Source & export .env into your shell. Adds export statements to each line of a dotenv .env file, for defining any variables therein in your shell.

Install

npm i -g dotenv-export

Use

source <(dotenv-export)

Or you can use a custom file name instead of the default .env, e.g., .env.test:

source <(dotenv-export .env.test)

FAQs

Package last updated on 22 Feb 2018

Related posts