# bn.js — card for AI agents

Big number library for handling arbitrary-precision integers in JavaScript.

Category: Utilities · npm package `bn.js` · latest version 5.2.5 (checked 2026-11-01)
Install: `npm install bn.js`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 64.5 (#717 of all tools, 83 of 408 in its category)
- Downloads last week: 79,108,703 (as of 2026-11-24), +27.0% over 4 weeks
- GitHub stars: 1,230 (as of 2026-11-24)
- Last push: 2026-07-09

## Often used with
Solana Web3.js 94.1%, Solana SPL Token 70.6%, Axios 38.3%, ts-node 34.9%, dotenv 46.1%, Anchor 33.8%

## Links
- AgentGid page: https://agentgid.com/tools/bn-js/
- Homepage: https://github.com/indutny/bn.js
- Repository: https://github.com/indutny/bn.js

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
