Elestia Open Source Ratings
8.3

jose

A strong pick. 2nd of 10 authentication libraries.

jose is a zero-dependency library that covers the JOSE standards: JWT, JWS, JWE, JWK and JWKS. It runs on Node.js, browsers, Deno, Bun and edge runtimes. It is the best current choice for signing and checking tokens, but it is a building block. It does not handle sign-in flows or user management.

Best for: Developers who need to sign, verify or encrypt JWTs, or to check tokens against an identity provider's JWKS, on any runtime, including edge.

GitHubnpm

Scores

Overall8.3

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

It is clearly the best pick in this category for the token-checking part of the job, and it is better than jsonwebtoken for new code. It is very well maintained and has a small attack surface. It is not a full authentication solution, so most apps that need sign-in and sessions will pick Better Auth or Auth.js, which run jose underneath. That keeps it out of the 9 range for this category.

GPT-6.2 Sol: 8.5, likely 7.3 to 9.3

jose is my first pick among these peers for JWT handling in a new project that needs portable verification, remote key sets, or encrypted tokens. Its broader token support and release activity give it an edge over jsonwebtoken for that job. Better Auth is the stronger starting point for built-in sign-in and sessions. Older module tooling and reliance on one release maintainer account for most of the remaining uncertainty.

Needed by many5.6

How many developers need a tool for this job?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Checking and issuing tokens is common in web apps and APIs, and jose works on every major runtime. It covers only the token part of the authentication job, not sign-in or sessions. Many developers use it only indirectly, through an auth framework.

GPT-6.2 Sol: 5.2, likely 4.0 to 6.4

Token verification applies to web apps, APIs, and edge services, and jose works across several runtimes. Its direct audience is smaller than that of a full auth framework because many teams get token handling through their framework or identity SDK. The React survey shows demand for authentication tools but gives little insight into how many projects need a standalone token library.

Helps a lot8.9

How well does it do the job for those who need it?

Claude Opus 5.5: 9.0, likely 8.0 to 9.5

For token work it is the most complete and correct library in JavaScript. It covers the full JOSE suite, ships its own types, has secure defaults and handles remote JWKS sets. Its limits are the async-only API, a lack of caching and worker threads (fast-jwt has both), and some setup friction for people moving from jsonwebtoken.

GPT-6.2 Sol: 8.7, likely 7.6 to 9.6

Version 6.2.18 covers JWT claim validation, signed and encrypted tokens, and remote key lookup, with typed APIs, dedicated errors, and tests based on published standards. That gives it more token capabilities than jsonwebtoken, though Nearform measured slower HS256 operations on Node.js. Typed signatures and examples help with routine AI-generated code, but Vercel's own guide labels a signing example as encryption, and agent accuracy has no direct measurement here. Algorithm availability and ESM tooling also vary by environment.

Holds up over time8.1

Will it still be a good choice in two years?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

It is very active: 291 commits and 20 releases in the last year, the latest on 2026-11-18, and no open issues or pull requests. Auth.js, Better Auth and openid-client build on it, which ties it into the ecosystem. The main risk is that one maintainer carries most of the work, which keeps the score below 9.

  • github commitsLastYear: 291 commits in the last year
  • github openIssues/openPullRequests: 0 open issues and 0 open pull requests
  • npm versionsLastYear: 20 versions in the last year
  • github.com/panva/jose/releases: Frequent patch releases, none marked as breaking

GPT-6.2 Sol: 8.1, likely 6.7 to 9.0

The project shipped 20 releases and made 291 commits in the past year, and one recent error-reporting issue received a patch in two days. Auth0 by Okta is listed as a sponsor, while recent releases show the same maintainer triggering the workflow. That concentration and the CommonJS and Jest friction reported after the v6 upgrade make two-year continuity less certain.

Used widely7.5

How many use it, and is that growing?

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

Downloads reached 914M in the last 4 weeks, up from 89M a year before. That is a ratio of about 10.3, well above the median of 4.1, and the highest volume in its category. Most of these downloads come through other auth packages that install it. Its 54,898 dependent repos are far fewer than jsonwebtoken's 719k, but they still show strong direct choice.

  • npm downloadsLast4Weeks: 914,508,203 downloads, against 88,789,903 a year earlier
  • dependents: 54,898 repos and 1,109 packages
  • peers jsonwebtoken: 328M downloads and 718,942 dependent repos, with a smaller growth ratio

GPT-6.2 Sol: 6.4, likely 5.1 to 7.6

ecosyste.ms found about 55,000 dependent repositories, ahead of Auth.js and openid-client in this sample and well behind jsonwebtoken. Four-week npm downloads rose from 88.8 million to 914.5 million, or 10.3 times, above the catalog median of 4.1 times and below Better Auth's 41.7 times. Framework installs account for an unknown share of that growth, and 7,891 stars with three Bluesky posts offer only a limited read on how many new projects choose jose directly.

  • dependents.repos and dependents.packages: ecosyste.ms found 54,898 repositories and 1,109 packages.
  • npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo and medianDownloadsRatio: Downloads grew 10.3 times against a 4.1 times catalog median.
  • peers: jsonwebtoken had 718,942 indexed dependent repositories, and Better Auth had faster download growth.
  • github.stars and bluesky.posts: 7,891 stars and three Bluesky posts linking to the repository.
  • github.com/better-auth/better-auth/blob/main/packages/better-auth/src/crypto/jwt.ts: Better Auth installs jose for token operations.
Vouched for8.3

Who stands behind it being good?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

Major auth frameworks and identity vendors build on it or recommend it for edge JWT checks, and independent guides call it the modern default. It does not appear in surveys or Hacker News stories, and the Bluesky signal is small. The case rests on adoption by frameworks and on several independent write-ups.

GPT-6.2 Sol: 8.6, likely 7.4 to 9.4

Better Auth and Auth.js use jose in their token code, and the Supabase server SDK uses it to verify JWTs. Next.js also recommends it for stateless sessions. Those integrations show that other projects trust it with token handling, although they give limited evidence about satisfaction among teams that use it directly.

Safe8.7

How safe is it to depend on?

Claude Opus 5.5: 9.0, likely 8.0 to 9.5

It has no dependencies, an MIT licence and only three moderate advisories, all fixed and none in the last 24 months. The Scorecard score is 7.9, with strong marks on fuzzing, SAST, pinned dependencies and signed releases. The weak checks are Code-Review at 0 and Branch-Protection at 3, which reflect a single-maintainer release path.

  • npm dependencies: 0 runtime dependencies
  • advisories: 3 moderate advisories, 2021 to 2024, all fixed; none in the last 24 months
  • scorecard: Score 7.9; Code-Review 0, Branch-Protection 3, Fuzzing 10, Signed-Releases 8
  • github license: MIT

GPT-6.2 Sol: 8.3, likely 7.1 to 9.3

The MIT-licensed package ships with zero runtime dependencies, and its GitHub Actions workflow uses identity tokens for publishing and artifact attestations. The three advisories in the bundle were patched, with the 2024 fix released on disclosure day. Aikido separately reports a low-severity issue through 6.2.4, outside the current release. Fuzzing and static analysis scored well, while weak branch protection, a zero code-review score, and releases concentrated under one maintainer keep the score below the top tier.

Good

  • It has no dependencies and uses Web Crypto, so the same code runs on Node.js, browsers, Deno, Bun, Cloudflare Workers and Vercel Edge.
  • It covers JWS, JWE, JWK and JWKS, and createRemoteJWKSet handles key fetching and caching on its own.
  • It is secure by default: it never accepts the 'none' algorithm and it requires explicit algorithms.
  • Maintenance is very active: 20 releases in the last year and no open issues or pull requests.

Bad

  • It is only a token primitive: there are no sessions, OAuth flows or user management, so you need Auth.js, Better Auth or your own code on top.
  • The API is async only, and SignJWT has no default algorithm, which trips up developers coming from jsonwebtoken.
  • One maintainer does most of the work and publishes the releases, and the Scorecard gives Code-Review a 0.
  • Frequent patch releases tighten input checks, which can sometimes reject input that older versions accepted.

The numbers

npm downloads, 4 weeks
915M ×10 in a year
GitHub stars
7.9k
Commits, 12 months
291
npm version
6.2.18 Nov 2026
Versions, 12 months
20
Advisories, 24 months
0 of 3 ever
OpenSSF Scorecard
7.9 out of 10, Nov 2026
Licence
MIT

Many downloads come from other packages that install it.

Read on 21 November 2026 from GitHub (panva/jose), npm (jose), OSV and the OpenSSF Scorecard.

Authentication libraries

  1. 8.5Better Auth
  2. 8.3jose
  3. 7.9openid-client
  4. 6.8iron-session
  5. 6.3SuperTokens
  6. 5.2jsonwebtoken
  7. 4.9Passport
  8. 4.0Auth.js
  9. 1.6Arctic
  10. 1.6Lucia
Compare all 10 on six scores