mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-08-05 07:03:06 -07:00
12 lines
613 B
JavaScript
12 lines
613 B
JavaScript
import { formatNumberValue, formatPercentValue } from "./format.js";
|
|
|
|
export const units = /** @type {const} */ ({
|
|
addresses: { id: "addresses", name: "Addresses", format: formatNumberValue },
|
|
blocks: { id: "blocks", name: "Blocks", format: formatNumberValue },
|
|
btc: { id: "btc", name: "Bitcoin", format: formatNumberValue },
|
|
number: { id: "number", name: "Number", format: formatNumberValue },
|
|
percent: { id: "%", name: "Percent", format: formatPercentValue },
|
|
utxos: { id: "utxos", name: "UTXOs", format: formatNumberValue },
|
|
usd: { id: "usd", name: "US Dollars", format: formatNumberValue },
|
|
});
|