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