Download worker/node_modules/undici/lib/llhttp/utils.js from luckyrobots/cv_old: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/datasets/luckyrobots/cv_old/resolve/main/worker/node_modules/undici/lib/llhttp/utils.js
- Command line
-
hf download hf://datasets/luckyrobots/cv_old/worker/node_modules/undici/lib/llhttp/utils.js
-
curl -L -o utils.js https://huggingface.co/datasets/luckyrobots/cv_old/resolve/main/worker/node_modules/undici/lib/llhttp/utils.js
394 Bytes
| ; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.enumToMap = void 0; | |
| function enumToMap(obj) { | |
| const res = {}; | |
| Object.keys(obj).forEach((key) => { | |
| const value = obj[key]; | |
| if (typeof value === 'number') { | |
| res[key] = value; | |
| } | |
| }); | |
| return res; | |
| } | |
| exports.enumToMap = enumToMap; | |
| //# sourceMappingURL=utils.js.map |