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

arrowy-env

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arrowy-env

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

latest
npmnpm
Version
2.0.1
Version published
Maintainers
1
Created
Source

arrowy-env

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

getting started

  • Install the dependency:
npm i arrowy-env
  • 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 "arrowy-env"

env("DATABASE_NAME")

FAQs

Package last updated on 14 Jul 2025

Related posts