🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

epii-read-config

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

epii-read-config

- readConfig ```js /* * defualtConfig:默认配置 namespace:配置前缀 */ readConfig(defualtConfig,namespace=""); ```

latest
npmnpm
Version
1.0.2
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

使用说明

开放方法

  • readConfig
/*
* defualtConfig:默认配置
  namespace:配置前缀
*/
readConfig(defualtConfig,namespace="");

修改配置的优先级(递增)

!!!!配置文件名称为 epii.config.json | epii.config.js

  • 1.项目发布目录(例:/dist)
  • 2.程序运行目录
  • 3.命令行指向配置文件(xxx/xxx.js --epii.config=path/to/epii.config.json )//配置文件命名可自定义
  • 4.命令行其它参数

FAQs

Package last updated on 26 Oct 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