2.0.0 • Published 1 year ago

arrowy-env v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

arrowy-env

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

getting started

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

env("DATABASE_NAME")
2.0.0

1 year ago

1.0.0

1 year ago