New: Introducing PHP and Composer Support.Read the Announcement
Socket
Book a DemoInstallSign in
Socket

with-env

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

with-env

Read and then apply .env file in the working directory, assuming the .env exists

Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
79
-44.76%
Maintainers
1
Weekly downloads
 
Created
Source

With .env

Read and then apply .env file in the working directory, assuming the .env exists

Usage

require("with-env")();
console.log(process.env.MY_VARIABLE);

Keywords

process

FAQs

Package last updated on 23 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts