🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

dotenvr

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenvr

dotenv Recursion

latest
Source
npmnpm
Version
0.2.3
Version published
Weekly downloads
51
-37.04%
Maintainers
1
Weekly downloads
 
Created
Source

dotenvR

Install

npm install dotenvr --save

Usage

var config = require('dotenvr').load(); //默认当前路径 .env 
//var config = require('dotenvr').load('/path/of/your/.env');

Example

.env

APP = demo
A.B.C = 123

var config = require('dotenvr').load(); // also see process.env

{
    APP:'demo',
    A:{
        B:{
            C:123
        }
    }
}

Keywords

dotenv

FAQs

Package last updated on 26 Dec 2023

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