Download node_modules/abort-controller/browser.js from sweet2004/bot: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/spaces/sweet2004/bot/resolve/main/node_modules/abort-controller/browser.js
- Command line
-
hf download hf://spaces/sweet2004/bot/node_modules/abort-controller/browser.js
-
curl -L -o browser.js https://huggingface.co/spaces/sweet2004/bot/resolve/main/node_modules/abort-controller/browser.js
394 Bytes
| /*globals self, window */ | |
| /*eslint-disable @mysticatea/prettier */ | |
| const { AbortController, AbortSignal } = | |
| typeof self !== "undefined" ? self : | |
| typeof window !== "undefined" ? window : | |
| /* otherwise */ undefined | |
| /*eslint-enable @mysticatea/prettier */ | |
| module.exports = AbortController | |
| module.exports.AbortSignal = AbortSignal | |
| module.exports.default = AbortController | |