Skip to content
JS
Package

libsodium

The Sodium cryptographic library compiled to pure JavaScript (raw library, no wrappers)

v0.8.4, 19 Apr 2026ISCESM + CommonJSTypes: NoneCryptography and hashing
$ npm install libsodium

Key numbers

As of 25 Sept 2026
Weekly downloads
3m
+193% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 months ago
v0.8.4
GitHub stars
1.2k
166 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
150

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 4.3m (25 Aug 2026)Low 778.7k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

3,047,100 downloads last week, 15,029,649 in the last month. The 12-month change of +193% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
643 in total
Latest version
0.8.4, 19 Apr 20265 months ago
First published
25 Jan 2015
Last push to GitHub
22 Sept 20262 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
150
Dependents on npm
77

Major versions

  1. v0 first release 0.2.2, 25 Jan 2015

Recent releases

VersionPublished
0.8.419 Apr 2026
0.8.39 Apr 2026
0.8.224 Jan 2026
0.8.117 Jan 2026
0.8.06 Jan 2026
0.7.1629 Dec 2025
0.7.1513 Aug 2024
0.7.149 Jul 2024
0.7.1313 Sept 2023
0.7.1116 Feb 2023
0.7.1022 Mar 2022
0.7.929 Jan 2021
0.7.84 Aug 2020
0.7.74 Aug 2020
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
1.2 MB
Dependencies (0)
None
npm install libsodium

CDN

jsDelivr: 22.3m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/libsodium@0.8.4/
  • unpkghttps://unpkg.com/libsodium@0.8.4/
  • esm.shhttps://esm.sh/libsodium@0.8.4
PackageWeekly downloadsGzipLast releaseModuleComparison
tweetnacl28.6m-6 years agoCommonJS-
keccak25663.8k-4 years agoCommonJS-
node-forge31m-6 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.