arrowy-env
v2.0.0
Published
function which access to an env variables located in the .env file in the root folder.
Downloads
5
Readme
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")