New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@charlietango/dotenv

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@charlietango/dotenv

Environment variable loading adapted from [@next/env](https://github.com/vercel/next.js/tree/canary/packages/next-env).

1.1.0
latest
npm
Version published
Weekly downloads
77
11.59%
Maintainers
2
Weekly downloads
 
Created
Source

@charlietango/dotenv

Environment variable loading adapted from @next/env.

Loads multiple files depending on the environment defined in process.env.NODE_ENV. The first file to contain a variable is used, allowing you to override definitions.

Usage

Import the library in the node task that needs to load environment variables.

import '@charlietango/dotenv'

Files

production

.env.production.local
.env.local
.env.production
.env

development

.env.development.local
.env.local
.env.development
.env

test

.env.test.local
.env.test
.env

FAQs

Package last updated on 09 Feb 2024

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