Download Fore_End/cpcn2/node_modules/dotenv/lib/env-options.js from zxy0307/JavaWeb: direct link, hf CLI and curl.
- Browser
- Download file 422 Bytes
-
https://huggingface.co/zxy0307/JavaWeb/resolve/main/Fore_End/cpcn2/node_modules/dotenv/lib/env-options.js
- Command line
-
hf download hf://zxy0307/JavaWeb/Fore_End/cpcn2/node_modules/dotenv/lib/env-options.js
-
curl -L -o env-options.js https://huggingface.co/zxy0307/JavaWeb/resolve/main/Fore_End/cpcn2/node_modules/dotenv/lib/env-options.js
422 Bytes
| /* @flow */ | |
| // ../config.js accepts options via environment variables | |
| const options = {} | |
| if (process.env.DOTENV_CONFIG_ENCODING != null) { | |
| options.encoding = process.env.DOTENV_CONFIG_ENCODING | |
| } | |
| if (process.env.DOTENV_CONFIG_PATH != null) { | |
| options.path = process.env.DOTENV_CONFIG_PATH | |
| } | |
| if (process.env.DOTENV_CONFIG_DEBUG != null) { | |
| options.debug = process.env.DOTENV_CONFIG_DEBUG | |
| } | |
| module.exports = options | |