Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

bcrypt (JavaScript)

Password hashing library for secure credential storage in Node.js applications.

Auth and security libraries npm MIT

Used in agent projects
103
0.8% of 12,697 public repos built with AI coding agents
Rank in auth and security libraries
#10 of 47
by use in those projects
Downloads
6.3M
npm, last 7 days, bcrypt
GitHub stars
7,807
last push Apr 14, 2026

How bcrypt (JavaScript) is used

bcrypt (JavaScript) is a dependency in 103 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.8%), #10 of 47 in auth and security libraries. The most used alternative there is NextAuth.js. Projects that use it most often also use dotenv (57.3%), jsonwebtoken (44.7%), Zod (53.4%).

Often used with bcrypt (JavaScript)

dotenv57.3% of bcrypt (JavaScript) projects · 3.6× more than average
jsonwebtoken44.7% of bcrypt (JavaScript) projects · 23.5× more than average
Zod53.4% of bcrypt (JavaScript) projects · 3.1× more than average
Express38.8% of bcrypt (JavaScript) projects · 6.0× more than average
ESLint76.7% of bcrypt (JavaScript) projects · 2.0× more than average
pg37.9% of bcrypt (JavaScript) projects · 12.9× more than average
Recharts36.9% of bcrypt (JavaScript) projects · 4.5× more than average
next-themes36.9% of bcrypt (JavaScript) projects · 4.2× more than average

By coding agent

GitHub Copilot1.3% of projects set up for it
Claude Code1.1% of projects set up for it
Cursor1.2% of projects set up for it
Devin Desktop4.0% of projects set up for it
Gemini CLI1.4% of projects set up for it

Share of public repos configured for each agent that list bcrypt (JavaScript) as a dependency.

Install

Packagenpm install bcrypt
Main stacksTypeScript / JavaScript (52), Next.js (49), Python (2)
Example projectsLastBotInc/nextjs-supabase-ai-webapp, gopaljilab/Clinical-Insight-Engine, Hackbyrd/orbital-express, Blackbox-Games-LLC/FullStack_InVaders, FightTheStroke/MirrorBuddy

Alternatives to bcrypt (JavaScript)

All auth and security libraries

Tool Used in agent projectsDownloads / wk GitHub starsLicense
NextAuth.js npm
Complete open-source authentication solution designed for Next.js applications.
266 (2.1%) 6.7M 28.4K ISC
bcryptjs npm
Pure JavaScript bcrypt implementation for secure password hashing without dependencies.
256 (2.0%) 14.7M 3,797 BSD-3-Clause
jsonwebtoken npm
Create, verify and decode JSON Web Tokens for authentication and secure data transmission.
241 (1.9%) 59.3M 18.2K MIT
cryptography pypi
Python library providing cryptographic recipes and primitives for secure applications.
213 (1.7%) 281M 7,803 —
jose npm
Comprehensive JWT and JWK handling for Node.js and web runtimes.
141 (1.1%) 151M 7,824 MIT
PyJWT pypi
Python library for encoding and decoding JSON Web Tokens.
128 (1.0%) 154M 5,714 —
Better Auth npm
Comprehensive authentication framework for TypeScript with multiple strategies.
126 (1.0%) 11.4M 30.2K MIT
Helmet npm
Express middleware that sets HTTP security headers to prevent vulnerabilities.
125 (1.0%) 16.2M 10.7K MIT
Is bcrypt (JavaScript) right for your project? Ask AgentGid →