Download web/node_modules/loupe/lib/bigint.js from amitesh11/pose: direct link, hf CLI and curl.
- Browser
- Download file 250 Bytes
-
https://huggingface.co/spaces/amitesh11/pose/resolve/main/web/node_modules/loupe/lib/bigint.js
- Command line
-
hf download hf://spaces/amitesh11/pose/web/node_modules/loupe/lib/bigint.js
-
curl -L -o bigint.js https://huggingface.co/spaces/amitesh11/pose/resolve/main/web/node_modules/loupe/lib/bigint.js
250 Bytes
| import { truncate, truncator } from './helpers' | |
| export default function inspectBigInt(number, options) { | |
| let nums = truncate(number.toString(), options.truncate - 1) | |
| if (nums !== truncator) nums += 'n' | |
| return options.stylize(nums, 'bigint') | |
| } | |