# jose: 8.3 out of 10

A strong pick. 2nd of 10 in [Authentication libraries](https://elestia.ai/opensource/auth/index.md).

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.

## Scores

- **Overall: 8.3** (likely 7.2 to 8.9)
  - Claude Opus 5.5 (8.0): 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): 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 many: 5.6** (likely 4.5 to 6.7)
  - Claude Opus 5.5 (6.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): 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 lot: 8.9** (likely 7.8 to 9.6)
  - Claude Opus 5.5 (9.0): 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): 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 time: 8.1** (likely 6.9 to 9.0)
  - Claude Opus 5.5 (8.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.
  - GPT-6.2 Sol (8.1): 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 widely: 7.5** (likely 6.3 to 8.3)
  - Claude Opus 5.5 (8.5): 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.
  - GPT-6.2 Sol (6.4): 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.
- **Vouched for: 8.3** (likely 7.2 to 9.2)
  - Claude Opus 5.5 (8.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): 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.
- **Safe: 8.7** (likely 7.6 to 9.4)
  - Claude Opus 5.5 (9.0): 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.
  - GPT-6.2 Sol (8.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

- Downloads, 4 weeks: 915M
- In a year: ×10
- GitHub stars: 7.9k
- Commits, 12 months: 291
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/panva/jose
- npm: https://www.npmjs.com/package/jose

Many downloads come from other packages that install it.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
