jsonwebtoken vs jose
In 4,864 JavaScript/TypeScript projects set up for AI coding agents, jsonwebtoken is a dependency in 149 (3.1%) and jose in 109 (2.2%): jsonwebtoken is 1.4× as common. Among repos created in the last 90 days that use a auth and security libraries tool, jsonwebtoken is in 5.7% and jose in 31.4%, against 17.0% and 11.4% of older ones. 7 projects list both, often a sign of a migration or of a monorepo with several apps.
Auth and security libraries npm Updated Nov 17, 2026
| jsonwebtoken | 3.1% | |
|---|---|---|
| jose | 2.2% |
Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.
Side by side
| jsonwebtoken | jose | |
|---|---|---|
| Agent projects that use it | 149 | 109 |
| Rank in auth and security libraries | #3 | #6 |
| In new repos with a auth and security libraries tool (last 90 days) | 5.7% | 31.4% |
| In older repos with one | 17.0% | 11.4% |
| Downloads, last 7 days | 81.5M | 234M |
| GitHub stars | 18.2K | 7,888 |
| Last push to its repo | Jun 25, 2026 | Nov 12, 2026 |
| License | MIT | MIT |
| Funding | — | — |
| Projects that list both | 7 | |
Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.
By coding agent
| Projects set up for | JavaScript/TypeScript repos | jsonwebtoken | jose |
|---|---|---|---|
| Claude Code | 2,617 | 2.9% | 2.6% |
| GitHub Copilot | 2,350 | 2.6% | 2.3% |
| Cursor | 1,990 | 4.2% | 2.1% |
| Gemini CLI | 422 | 1.9% | 2.8% |
| OpenAI Codex | 409 | 1.7% | 2.2% |
| OpenCode | 304 | 0% | 2.0% |
| Devin Desktop | 231 | 11.3% | 0% |
| Kiro | 125 | 8.0% | 0% |
| Roo-Code | 90 | 7.8% | 0% |
| Cline | 62 | 8.1% | 0% |
Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.
jsonwebtoken
Create, verify and decode JSON Web Tokens for authentication and secure data transmission.
Most often used with it:
| dotenv | 70.5% of its projects |
|---|---|
| Express | 60.4% of its projects |
| cors | 53.7% of its projects |
| bcryptjs | 39.6% of its projects |
| Zod | 59.7% of its projects |
npm install jsonwebtoken
jose
Comprehensive JWT and JWK handling for Node.js and web runtimes.
Most often used with it:
| Next.js | 64.2% of its projects |
|---|---|
| Tailwind Merge | 64.2% of its projects |
| Lucide React | 66.1% of its projects |
| Zod | 74.3% of its projects |
| clsx | 65.1% of its projects |
npm install jose
More matchups
NextAuth.js vs Better Authbcryptjs vs bcrypt (JavaScript)Better Auth vs ClerkNextAuth.js vs ClerkPyJWT vs python-josepasslib vs bcrypt (Python)
How we count
Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.