Download Fore_End/cpcn2/node_modules/dotenv/lib/cli-options.js from zxy0307/JavaWeb: direct link, hf CLI and curl.
- Browser
- Download file 303 Bytes
-
https://huggingface.co/zxy0307/JavaWeb/resolve/main/Fore_End/cpcn2/node_modules/dotenv/lib/cli-options.js
- Command line
-
hf download hf://zxy0307/JavaWeb/Fore_End/cpcn2/node_modules/dotenv/lib/cli-options.js
-
curl -L -o cli-options.js https://huggingface.co/zxy0307/JavaWeb/resolve/main/Fore_End/cpcn2/node_modules/dotenv/lib/cli-options.js
303 Bytes
| /* @flow */ | |
| const re = /^dotenv_config_(encoding|path|debug)=(.+)$/ | |
| module.exports = function optionMatcher (args /*: Array<string> */) { | |
| return args.reduce(function (acc, cur) { | |
| const matches = cur.match(re) | |
| if (matches) { | |
| acc[matches[1]] = matches[2] | |
| } | |
| return acc | |
| }, {}) | |
| } | |