Socket
Book a DemoInstallSign in
Socket

@anzerr/dotenv

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anzerr/dotenv

util to load env values into an app/service

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Intro

dotenv loads a formated .env file into process.env

Install

npm install --save git+https://git@github.com/anzerr/dotenv.git
npm install --save @anzerr/dotenv

Example

.env files

APP_PORT=3005
require('@anzerr/dotenv').config();
console.log(process.env.APP_PORT); // 3005

FAQs

Package last updated on 29 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts