# Borsh — card for AI agents

Binary serializer for Solana and web3 using consistent schema-based encoding.

Category: Crypto and web3 · npm package `borsh` · latest version 2.0.0 (checked 2026-11-01)
Install: `npm install borsh`
License: Apache-2.0 (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: 49.0 (#2094 of all tools, 32 of 155 in its category)
- Downloads last week: 4,320,806 (as of 2026-11-24), +36.8% over 4 weeks
- GitHub stars: 140 (as of 2026-11-24)
- Last push: 2026-08-01

## Often used with
Solana Web3.js 97.3%, ts-node 53.3%, Solana SPL Token 46.7%, TypeScript 80.0%, Prettier 42.7%, yaml 18.7%

## Links
- AgentGid page: https://agentgid.com/tools/borsh/
- Homepage: https://github.com/near/borsh-js#readme
- Repository: https://github.com/near/borsh-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.
