tokmon 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +3 -0
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -482,6 +482,9 @@ function formatReset(iso) {
482
482
 
483
483
  // src/format.ts
484
484
  function currency(value) {
485
+ if (value >= 1e4) {
486
+ return `$${value.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 })}`;
487
+ }
485
488
  return `$${value.toFixed(2)}`;
486
489
  }
487
490
  function tokens(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tokmon",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Terminal dashboard for Claude Code usage and costs",
5
5
  "type": "module",
6
6
  "bin": {