{"adoption": {"forks": 154, "observed_at": "2026-08-28T04:04:03.728284+00:00", "stars": 1230}, "canonical_url": "https://ross.abutalabs.com/products/bnjs", "card": {"archived": false, "artifact_type": "library", "description": "BigNum in pure javascript", "domain": ["developer-tools"], "enriched": true, "function": ["math", "serialization"], "health_score": 75, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["indutny/bn.js"], "name": "indutny/bn.js", "platform": ["browser", "cross-platform"], "pushed_at": "2026-07-09T04:24:18+00:00", "repo": "indutny/bn.js", "stars": 1230, "tags": ["bignum", "arbitrary-precision-arithmetic", "biginteger", "montgomery-reduction", "pure-javascript", "algorithms", "cryptography", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["do big integer arithmetic in javascript", "implement cryptography like RSA or ECC in JS", "handle numbers larger than Number.MAX_SAFE_INTEGER", "perform modular arithmetic and Montgomery multiplication", "convert big integers between bases and byte arrays"], "what_it_is": "bn.js is a pure JavaScript arbitrary-precision integer (BigNum) arithmetic library supporting addition, multiplication, modular reduction, Montgomery reduction, and bit operations. It runs in both Node.js and browsers with no native dependencies.", "when_to_avoid": ["you need decimal or floating-point arithmetic", "you need BigInt-level performance and can use native JS BigInt instead", "you need arbitrary-precision decimals like for financial calculations"], "when_to_choose": ["you need arbitrary-precision integers in Node.js or the browser without native modules", "you need a battle-tested bignum library used by crypto libraries like elliptic", "you need integer-only math (no decimals) with in-place operation optimizations"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/bnjs", "repo": "indutny/bn.js", "role": "main", "score": 64}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.728284+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:15:02.252615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ebd8d4a64c17a009e951993bbb9987f2c709c06758bd27ae0d2b4d972227b947", "fetched_at": "2026-08-28T04:04:03.728284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/indutny/bn.js"}, {"content_hash": "ed45fd61741195b0a8d044ff9fd10396150f53cf87bbb0ee30c76de6ec9b2c45", "fetched_at": "2026-08-29T12:22:19.380148+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bn.js"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.728284+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:15:02.252615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ebd8d4a64c17a009e951993bbb9987f2c709c06758bd27ae0d2b4d972227b947", "fetched_at": "2026-08-28T04:04:03.728284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/indutny/bn.js"}, {"content_hash": "ed45fd61741195b0a8d044ff9fd10396150f53cf87bbb0ee30c76de6ec9b2c45", "fetched_at": "2026-08-29T12:22:19.380148+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bn.js"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:15:02.252615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ebd8d4a64c17a009e951993bbb9987f2c709c06758bd27ae0d2b4d972227b947", "fetched_at": "2026-08-28T04:04:03.728284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/indutny/bn.js"}, {"content_hash": "ed45fd61741195b0a8d044ff9fd10396150f53cf87bbb0ee30c76de6ec9b2c45", "fetched_at": "2026-08-29T12:22:19.380148+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bn.js"}], "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:04:03.728284+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.728284+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.728284+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:15:02.252615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ebd8d4a64c17a009e951993bbb9987f2c709c06758bd27ae0d2b4d972227b947", "fetched_at": "2026-08-28T04:04:03.728284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/indutny/bn.js"}, {"content_hash": "ed45fd61741195b0a8d044ff9fd10396150f53cf87bbb0ee30c76de6ec9b2c45", "fetched_at": "2026-08-29T12:22:19.380148+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bn.js"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.728284+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.728284+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:15:02.252615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ebd8d4a64c17a009e951993bbb9987f2c709c06758bd27ae0d2b4d972227b947", "fetched_at": "2026-08-28T04:04:03.728284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/indutny/bn.js"}, {"content_hash": "ed45fd61741195b0a8d044ff9fd10396150f53cf87bbb0ee30c76de6ec9b2c45", "fetched_at": "2026-08-29T12:22:19.380148+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bn.js"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.728284+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.728284+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.728284+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:15:02.252615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ebd8d4a64c17a009e951993bbb9987f2c709c06758bd27ae0d2b4d972227b947", "fetched_at": "2026-08-28T04:04:03.728284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/indutny/bn.js"}, {"content_hash": "ed45fd61741195b0a8d044ff9fd10396150f53cf87bbb0ee30c76de6ec9b2c45", "fetched_at": "2026-08-29T12:22:19.380148+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bn.js"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.728284+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.728284+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:15:02.252615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ebd8d4a64c17a009e951993bbb9987f2c709c06758bd27ae0d2b4d972227b947", "fetched_at": "2026-08-28T04:04:03.728284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/indutny/bn.js"}, {"content_hash": "ed45fd61741195b0a8d044ff9fd10396150f53cf87bbb0ee30c76de6ec9b2c45", "fetched_at": "2026-08-29T12:22:19.380148+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bn.js"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:15:02.252615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ebd8d4a64c17a009e951993bbb9987f2c709c06758bd27ae0d2b4d972227b947", "fetched_at": "2026-08-28T04:04:03.728284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/indutny/bn.js"}, {"content_hash": "ed45fd61741195b0a8d044ff9fd10396150f53cf87bbb0ee30c76de6ec9b2c45", "fetched_at": "2026-08-29T12:22:19.380148+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bn.js"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:15:02.252615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ebd8d4a64c17a009e951993bbb9987f2c709c06758bd27ae0d2b4d972227b947", "fetched_at": "2026-08-28T04:04:03.728284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/indutny/bn.js"}, {"content_hash": "ed45fd61741195b0a8d044ff9fd10396150f53cf87bbb0ee30c76de6ec9b2c45", "fetched_at": "2026-08-29T12:22:19.380148+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bn.js"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:15:02.252615+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ebd8d4a64c17a009e951993bbb9987f2c709c06758bd27ae0d2b4d972227b947", "fetched_at": "2026-08-28T04:04:03.728284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/indutny/bn.js"}, {"content_hash": "ed45fd61741195b0a8d044ff9fd10396150f53cf87bbb0ee30c76de6ec9b2c45", "fetched_at": "2026-08-29T12:22:19.380148+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bn.js"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 91, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4512, "days_push": 55, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 64, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}