Spaces:
Running
Running
Download node_modules/JSONSelect/src/build/post-compile.js from k-l-lambda/lotus: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/spaces/k-l-lambda/lotus/resolve/main/node_modules/JSONSelect/src/build/post-compile.js
- Command line
-
hf download hf://spaces/k-l-lambda/lotus/node_modules/JSONSelect/src/build/post-compile.js
-
curl -L -o post-compile.js https://huggingface.co/spaces/k-l-lambda/lotus/resolve/main/node_modules/JSONSelect/src/build/post-compile.js
241 Bytes
| var print = require("sys").print, | |
| src = require("fs").readFileSync(process.argv[2], "utf8"); | |
| // Previously done in sed but reimplemented here due to portability issues | |
| print(src.replace(/^(\s*\*\/)(.+)/m, "$1\n$2;")); | |