{
 "kind": "tool",
 "slug": "borsh",
 "path": "tools/borsh/",
 "name": "Borsh",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Crypto and web3",
   "tools/web3/"
  ]
 ],
 "lead": "Binary serializer for Solana and web3 using consistent schema-based encoding.",
 "chips": [
  {
   "label": "Crypto and web3",
   "path": "tools/web3/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install borsh"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/near/borsh-js"
  },
  {
   "label": "Website",
   "href": "https://github.com/near/borsh-js#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/near/borsh-js"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Aug 1, 2026",
   "note": "Latest GitHub release Nov 24, 2023. ",
   "src": "https://github.com/near/borsh-js"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "Not in our scan",
   "status": "info",
   "sub": "#88 of 155 in its category",
   "note": "Dependency in 0 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Borsh does",
   "parts": [
    {
     "t": "prose",
     "text": "Binary serializer for Solana and web3 using consistent schema-based encoding."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Borsh popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "49",
       "of": "/ 100",
       "l": "Gid Score, #2094 overall"
      },
      {
       "n": "4.3M",
       "l": "downloads a week, npm"
      },
      {
       "n": "140",
       "l": "GitHub stars"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Borsh is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Borsh is a dependency in 0 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 75 projects, and what it is used with below comes from all of them.",
      "Projects that use it most often also use Solana Web3.js (97.3%), ts-node (53.3%), Solana SPL Token (46.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 97.3% of its projects",
       "v": "Solana Web3.js",
       "path": "tools/solana-web3-js/"
      },
      {
       "l": "In 53.3% of its projects",
       "v": "ts-node",
       "path": "tools/ts-node/"
      },
      {
       "l": "In 46.7% of its projects",
       "v": "Solana SPL Token",
       "path": "tools/solana-spl-token/"
      },
      {
       "l": "In 80.0% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 42.7% of its projects",
       "v": "Prettier",
       "path": "tools/prettier/"
      },
      {
       "l": "In 18.7% of its projects",
       "v": "yaml",
       "path": "tools/yaml/"
      },
      {
       "l": "In 18.7% of its projects",
       "v": "Mocha",
       "path": "tools/mocha/"
      },
      {
       "l": "In 18.7% of its projects",
       "v": "start-server-and-test",
       "path": "tools/start-server-and-test/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Borsh",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Crypto and web3",
       "path": "tools/web3/",
       "items": [
        {
         "text": "viem",
         "path": "tools/viem/"
        },
        {
         "text": "ethers.js",
         "path": "tools/ethers/"
        },
        {
         "text": "Solana Web3.js",
         "path": "tools/solana-web3-js/"
        },
        {
         "text": "wagmi",
         "path": "tools/wagmi/"
        },
        {
         "text": "TweetNaCl.js",
         "path": "tools/tweetnacl/"
        },
        {
         "text": "Hardhat",
         "path": "tools/hardhat/"
        },
        {
         "text": "OpenZeppelin Contracts",
         "path": "tools/openzeppelin/"
        },
        {
         "text": "Solana SPL Token",
         "path": "tools/solana-spl-token/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Borsh",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 49",
        "4.3M/wk"
       ]
      }
     ],
     "more": "Compare Borsh with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install borsh"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Borsh yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm borsh"
  ],
  [
   "Category",
   "Crypto and web3"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "49.0"
  ],
  [
   "Rank in category",
   "#88 of 155"
  ],
  [
   "GitHub",
   "near/borsh-js"
  ],
  [
   "Last change",
   "Aug 1, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/near.png"
}