Spaces:
Sleeping
Sleeping
pythonic-rag-FastAPIReact / frontend /node_modules /@webassemblyjs /helper-wasm-bytecode /esm /section.js
Download frontend/node_modules/@webassemblyjs/helper-wasm-bytecode/esm/section.js from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 515 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/%40webassemblyjs/helper-wasm-bytecode/esm/section.js
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/@webassemblyjs/helper-wasm-bytecode/esm/section.js
-
curl -L -o section.js https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/%40webassemblyjs/helper-wasm-bytecode/esm/section.js
515 Bytes
| export function getSectionForNode(n) { | |
| switch (n.type) { | |
| case "ModuleImport": | |
| return "import"; | |
| case "CallInstruction": | |
| case "CallIndirectInstruction": | |
| case "Func": | |
| case "Instr": | |
| return "code"; | |
| case "ModuleExport": | |
| return "export"; | |
| case "Start": | |
| return "start"; | |
| case "TypeInstruction": | |
| return "type"; | |
| case "IndexInFuncSection": | |
| return "func"; | |
| case "Global": | |
| return "global"; | |
| // No section | |
| default: | |
| return; | |
| } | |
| } |