Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Latest commit

 

History

History
19 lines (12 loc) · 292 Bytes

readme.md

File metadata and controls

19 lines (12 loc) · 292 Bytes

process-env

dotenv file loading

Clone of @next/env for loading dotenv files with proper priorities, for usage outside of Next.js

Intallation

npm install --save add process-env

Usage

import { loadEnvConfig } from 'process-env';

loadEnvConfig(__dirname);