Download node_modules/cliui/index.mjs from xxsxx/cld: direct link, hf CLI and curl.
- Browser
- Download file 309 Bytes
-
https://huggingface.co/spaces/xxsxx/cld/resolve/main/node_modules/cliui/index.mjs
- Command line
-
hf download hf://spaces/xxsxx/cld/node_modules/cliui/index.mjs
-
curl -L -o index.mjs https://huggingface.co/spaces/xxsxx/cld/resolve/main/node_modules/cliui/index.mjs
309 Bytes
| // Bootstrap cliui with CommonJS dependencies: | |
| import { cliui } from './build/lib/index.js' | |
| import { wrap, stripAnsi } from './build/lib/string-utils.js' | |
| export default function ui (opts) { | |
| return cliui(opts, { | |
| stringWidth: (str) => { | |
| return [...str].length | |
| }, | |
| stripAnsi, | |
| wrap | |
| }) | |
| } | |