@ellenode/envy
v0.0.1
Published
function which access to an env variables located in the .env file in the root folder.
Readme
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")
