Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

libsodium.js

The Sodium crypto library compiled to JavaScript and WebAssembly.

Auth and security librariesNPM

GitHubWebsite

1. License

License from npm.

github.com/jedisct1/libsodium.js

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What libsodium.js does

The Sodium crypto library compiled to JavaScript and WebAssembly.

libsodium.js popularity

49 / 100
Gid Score, #2069 overall
7.7M
downloads a week, npm
1,167
GitHub stars
4
agent projects use it
libsodium.js: downloads per weeknpm, libsodium-wrappers 7,701,951
libsodium.js: GitHub starsjedisct1/libsodium.js 1,167

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How libsodium.js is used

  • libsodium.js joined the catalog on its public numbers (7,701,951 downloads a week on npm and 1,167 GitHub stars), not on our project count: it is a dependency in 14 public GitHub projects of our scan, 4 of them set up for AI coding agents.
  • The most used alternative in our scan is crypto-js (32 projects).
  • Projects that use it most often also use ws (57.1%), Zod (64.3%), Anthropic SDK (35.7%).

Often used with

In 57.1% of its projects
In 64.3% of its projects
In 35.7% of its projects
In 28.6% of its projects
In 28.6% of its projects
In 28.6% of its projects
In 78.6% of its projects
In 42.9% of its projects

More about libsodium.js

More in Auth and security libraries

Alternatives

libsodium.js This page

ISCGid 497.7M/wk

crypto-js

JavaScript library implementing cryptographic standards for encryption and hashing.

MITGid 7328.1M/wk

Compare libsodium.js with another tool

Get started

Install it.

npm install libsodium-wrappers

No step-by-step start for libsodium.js yet: we have not written its hand-checked card.