arrowy-env

2.0.0 • Public • Published

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")

Readme

Keywords

none

Package Sidebar

Install

npm i arrowy-env

Weekly Downloads

3

Version

2.0.0

License

ISC

Unpacked Size

4.21 kB

Total Files

10

Last publish

Collaborators

  • crisguzmans