# libsodium.js — card for AI agents

The Sodium crypto library compiled to JavaScript and WebAssembly.

Category: Auth and security libraries · npm package `libsodium-wrappers` · latest version 0.8.4 (checked 2026-11-01)
Install: `npm install libsodium-wrappers`
License: ISC (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.2 (#2069 of all tools, 72 of 141 in its category)
- Used in 4 public projects set up for AI coding agents (0.1%)
- Downloads last week: 7,701,951 (as of 2026-11-24), +48.5% over 4 weeks
- GitHub stars: 1,167 (as of 2026-11-24)
- Last push: 2026-10-28

## Often used with
ws 57.1%, Zod 64.3%, Anthropic SDK 35.7%, OpenAI 28.6%, uuid 28.6%, open 28.6%

## Checked alternatives (same job)
- crypto-js: https://agentgid.com/tools/crypto-js/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/libsodium-wrappers/
- Homepage: https://github.com/jedisct1/libsodium.js
- Repository: https://github.com/jedisct1/libsodium.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.
