New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@ellenode/envy

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ellenode/envy

function which access to an env variables located in the .env file in the root folder.

latest
npmnpm
Version
0.0.1
Version published
Weekly downloads
9
200%
Maintainers
1
Weekly downloads
 
Created
Source

envy

A function that accesses environment variables located in the .env file at the root of your project.

getting started

  • Install the dependency:
npm i @ellenode/envy
  • Create your .env file in the root directory and declare your variables:
touch <your-project>/.env
  • Utilize the package in any file of your project:
import {env} from "@ellenode/envy"

env("DATABASE_NAME")

FAQs

Package last updated on 02 May 2026

Related posts