Download node_modules/bottleneck/lib/parser.js from mikmc5/aistats: direct link, hf CLI and curl.
- Browser
- Download file 416 Bytes
-
https://huggingface.co/spaces/mikmc5/aistats/resolve/main/node_modules/bottleneck/lib/parser.js
- Command line
-
hf download hf://spaces/mikmc5/aistats/node_modules/bottleneck/lib/parser.js
-
curl -L -o parser.js https://huggingface.co/spaces/mikmc5/aistats/resolve/main/node_modules/bottleneck/lib/parser.js
416 Bytes
| ; | |
| exports.load = function (received, defaults, onto = {}) { | |
| var k, ref, v; | |
| for (k in defaults) { | |
| v = defaults[k]; | |
| onto[k] = (ref = received[k]) != null ? ref : v; | |
| } | |
| return onto; | |
| }; | |
| exports.overwrite = function (received, defaults, onto = {}) { | |
| var k, v; | |
| for (k in received) { | |
| v = received[k]; | |
| if (defaults[k] !== void 0) { | |
| onto[k] = v; | |
| } | |
| } | |
| return onto; | |
| }; |