Download node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/getConfigFilepath.js from sweet2004/bot: direct link, hf CLI and curl.
- Browser
- Download file 449 Bytes
-
https://huggingface.co/spaces/sweet2004/bot/resolve/main/node_modules/%40aws-sdk/shared-ini-file-loader/dist-cjs/getConfigFilepath.js
- Command line
-
hf download hf://spaces/sweet2004/bot/node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/getConfigFilepath.js
-
curl -L -o getConfigFilepath.js https://huggingface.co/spaces/sweet2004/bot/resolve/main/node_modules/%40aws-sdk/shared-ini-file-loader/dist-cjs/getConfigFilepath.js
449 Bytes
| ; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.getConfigFilepath = exports.ENV_CONFIG_PATH = void 0; | |
| const path_1 = require("path"); | |
| const getHomeDir_1 = require("./getHomeDir"); | |
| exports.ENV_CONFIG_PATH = "AWS_CONFIG_FILE"; | |
| const getConfigFilepath = () => process.env[exports.ENV_CONFIG_PATH] || (0, path_1.join)((0, getHomeDir_1.getHomeDir)(), ".aws", "config"); | |
| exports.getConfigFilepath = getConfigFilepath; | |