Spaces:
Configuration error
Configuration error
Download node_modules/@protobufjs/codegen/tests/index.js from AIforAll-HH/IPTV: direct link, hf CLI and curl.
- Browser
- Download file 356 Bytes
-
https://huggingface.co/spaces/AIforAll-HH/IPTV/resolve/main/node_modules/%40protobufjs/codegen/tests/index.js
- Command line
-
hf download hf://spaces/AIforAll-HH/IPTV/node_modules/@protobufjs/codegen/tests/index.js
-
curl -L -o index.js https://huggingface.co/spaces/AIforAll-HH/IPTV/resolve/main/node_modules/%40protobufjs/codegen/tests/index.js
356 Bytes
| var codegen = require(".."); | |
| // new require("benchmark").Suite().add("add", function() { | |
| var add = codegen(["a", "b"], "add") | |
| ("// awesome comment") | |
| ("return a + b - c + %d", 1) | |
| ({ c: 1 }); | |
| if (add(1, 2) !== 3) | |
| throw Error("failed"); | |
| // }).on("cycle", function(event) { process.stdout.write(String(event.target) + "\n"); }).run(); | |