{"adoption": {"forks": 144, "observed_at": "2026-08-28T04:07:58.652834+00:00", "stars": 3382}, "canonical_url": "https://ross.abutalabs.com/products/currencyjs", "card": {"archived": false, "artifact_type": "library", "description": "A javascript library for handling currencies", "domain": ["web-development", "frontend", "fintech", "developer-tools"], "enriched": true, "function": ["serialization", "math", "developer-tools"], "health_score": 80, "homepage": "https://currency.js.org", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["scurker/currency.js"], "name": "scurker/currency.js", "platform": ["browser", "cross-platform"], "pushed_at": "2026-08-26T17:54:39+00:00", "repo": "scurker/currency.js", "stars": 3382, "tags": ["currency", "money", "floating-point", "immutable", "zero-dependencies", "formatting", "nodejs", "javascript"], "topics": ["currency-values", "javascript", "javascript-library", "money", "currency"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/currencyjs", "repo": "scurker/currency.js", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:58.652834+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:39:40.553383+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f97a0da1c20377a41a779704056b5d5aad559096080d8dc4115f6ccff473ef53", "fetched_at": "2026-08-28T04:07:58.652834+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scurker/currency.js"}, {"content_hash": "eee9665ef8429cab6459b97dc5731cfdb7accb5f06803388729424b5610b7963", "fetched_at": "2026-08-29T09:33:22.634045+00:00", "kind": "homepage", "missing": false, "url": "https://currency.js.org"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:58.652834+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:39:40.553383+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f97a0da1c20377a41a779704056b5d5aad559096080d8dc4115f6ccff473ef53", "fetched_at": "2026-08-28T04:07:58.652834+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scurker/currency.js"}, {"content_hash": "eee9665ef8429cab6459b97dc5731cfdb7accb5f06803388729424b5610b7963", "fetched_at": "2026-08-29T09:33:22.634045+00:00", "kind": "homepage", "missing": false, "url": "https://currency.js.org"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:39:40.553383+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f97a0da1c20377a41a779704056b5d5aad559096080d8dc4115f6ccff473ef53", "fetched_at": "2026-08-28T04:07:58.652834+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scurker/currency.js"}, {"content_hash": "eee9665ef8429cab6459b97dc5731cfdb7accb5f06803388729424b5610b7963", "fetched_at": "2026-08-29T09:33:22.634045+00:00", "kind": "homepage", "missing": false, "url": "https://currency.js.org"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:58.652834+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:58.652834+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:58.652834+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:39:40.553383+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f97a0da1c20377a41a779704056b5d5aad559096080d8dc4115f6ccff473ef53", "fetched_at": "2026-08-28T04:07:58.652834+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scurker/currency.js"}, {"content_hash": "eee9665ef8429cab6459b97dc5731cfdb7accb5f06803388729424b5610b7963", "fetched_at": "2026-08-29T09:33:22.634045+00:00", "kind": "homepage", "missing": false, "url": "https://currency.js.org"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:58.652834+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:58.652834+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:39:40.553383+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f97a0da1c20377a41a779704056b5d5aad559096080d8dc4115f6ccff473ef53", "fetched_at": "2026-08-28T04:07:58.652834+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scurker/currency.js"}, {"content_hash": "eee9665ef8429cab6459b97dc5731cfdb7accb5f06803388729424b5610b7963", "fetched_at": "2026-08-29T09:33:22.634045+00:00", "kind": "homepage", "missing": false, "url": "https://currency.js.org"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:58.652834+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:58.652834+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:58.652834+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:39:40.553383+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f97a0da1c20377a41a779704056b5d5aad559096080d8dc4115f6ccff473ef53", "fetched_at": "2026-08-28T04:07:58.652834+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scurker/currency.js"}, {"content_hash": "eee9665ef8429cab6459b97dc5731cfdb7accb5f06803388729424b5610b7963", "fetched_at": "2026-08-29T09:33:22.634045+00:00", "kind": "homepage", "missing": false, "url": "https://currency.js.org"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:58.652834+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:58.652834+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:39:40.553383+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f97a0da1c20377a41a779704056b5d5aad559096080d8dc4115f6ccff473ef53", "fetched_at": "2026-08-28T04:07:58.652834+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scurker/currency.js"}, {"content_hash": "eee9665ef8429cab6459b97dc5731cfdb7accb5f06803388729424b5610b7963", "fetched_at": "2026-08-29T09:33:22.634045+00:00", "kind": "homepage", "missing": false, "url": "https://currency.js.org"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:39:40.553383+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f97a0da1c20377a41a779704056b5d5aad559096080d8dc4115f6ccff473ef53", "fetched_at": "2026-08-28T04:07:58.652834+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scurker/currency.js"}, {"content_hash": "eee9665ef8429cab6459b97dc5731cfdb7accb5f06803388729424b5610b7963", "fetched_at": "2026-08-29T09:33:22.634045+00:00", "kind": "homepage", "missing": false, "url": "https://currency.js.org"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:39:40.553383+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f97a0da1c20377a41a779704056b5d5aad559096080d8dc4115f6ccff473ef53", "fetched_at": "2026-08-28T04:07:58.652834+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scurker/currency.js"}, {"content_hash": "eee9665ef8429cab6459b97dc5731cfdb7accb5f06803388729424b5610b7963", "fetched_at": "2026-08-29T09:33:22.634045+00:00", "kind": "homepage", "missing": false, "url": "https://currency.js.org"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:39:40.553383+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f97a0da1c20377a41a779704056b5d5aad559096080d8dc4115f6ccff473ef53", "fetched_at": "2026-08-28T04:07:58.652834+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scurker/currency.js"}, {"content_hash": "eee9665ef8429cab6459b97dc5731cfdb7accb5f06803388729424b5610b7963", "fetched_at": "2026-08-29T09:33:22.634045+00:00", "kind": "homepage", "missing": false, "url": "https://currency.js.org"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4857, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}