Ross ROSS = Recommend OSS · open-source software intelligence for agents

scurker/currency.js

A javascript library for handling currencies observed · 2026-08-28

github.com/scurker/currency.js · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

67/100

  • Activity 99
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4857
  • days_rel: n/a
  • days_push: 7
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

3382 stars · 144 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

currency.js is a lightweight (~1kb) JavaScript library for handling currency values, working around JavaScript's floating point precision issues by operating on integers behind the scenes. It offers an immutable, chainable API with flexible formatting and accepts numbers, strings, or other currency instances as input.

Use cases

  • add and subtract money without floating point errors
  • format currency values with custom symbols and separators
  • parse currency strings like '$12.30' or '£1,234,567.89'
  • convert minor units like cents into decimal currency values
  • perform safe arithmetic on prices in an e-commerce app
  • chain multiple currency calculations immutably

When to choose

  • you need precise decimal arithmetic for money in JavaScript
  • you want a tiny, zero-dependency currency utility
  • you need flexible currency formatting and parsing
  • you want an immutable API for currency math

When to avoid

  • you need arbitrary-precision decimal math beyond 2^53 cents
  • you need multi-currency exchange rates or conversion
  • you need full decimal arithmetic for non-currency values
  • you need a big-number library for scientific computation

Facets

library · maturity stable

serialization math developer-tools web-development frontend fintech developer-tools browser cross-platform currency money floating-point immutable zero-dependencies formatting nodejs javascript

2 sources

Member repositories

RepositoryRoleHealth v2
scurker/currency.jsmain67

For agents

markdown · JSON · MCP: product_card(name="scurker/currency.js")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem