New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

config-ivan

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

config-ivan

远程配置process.env环境变量

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

config-ivan

环境变量配置文件中所有变量注入到process.env对象上,先设置的变量具有优先级

1..env.development.local, .env.test.local, .env.production.local

2..env.local, except test 环境

3..env.development, .env.test, .env.production

4..env

使用

npm install --save config-ivan

示例webpack配置项目:

const configEnv = require('config-ivan')

configEnv()

Keywords

config

FAQs

Package last updated on 20 Nov 2017

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