Download node_modules/d3-format/src/defaultLocale.js from NKessler/Horizon: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/NKessler/Horizon/resolve/main/node_modules/d3-format/src/defaultLocale.js
- Command line
-
hf download hf://NKessler/Horizon/node_modules/d3-format/src/defaultLocale.js
-
curl -L -o defaultLocale.js https://huggingface.co/NKessler/Horizon/resolve/main/node_modules/d3-format/src/defaultLocale.js
348 Bytes
| import formatLocale from "./locale.js"; | |
| var locale; | |
| export var format; | |
| export var formatPrefix; | |
| defaultLocale({ | |
| thousands: ",", | |
| grouping: [3], | |
| currency: ["$", ""] | |
| }); | |
| export default function defaultLocale(definition) { | |
| locale = formatLocale(definition); | |
| format = locale.format; | |
| formatPrefix = locale.formatPrefix; | |
| return locale; | |
| } | |