Skip to content

Missing node_modules for import jose@5 #2

Closed

Description

@bourgeoa

v0.0.4 replaced https://esm.sh/jose@5 to import {} from 'jose'

you need a npm ci step

Activity

  1. melvincarvalho commented on Mar 5, 2026

    @melvincarvalho
    Contributor

    Fixed in #5 / #6.

    Replaced jose entirely with the Web Crypto API (crypto.subtle), achieving the original goal of zero dependencies. The library is now a single file with no imports, no node_modules, no build step.

    jose unpacked was 257kb on top of the 18kb library. Now it's 23kb standalone (4kb gzipped) — nothing to install.

    Note: license upgraded to AGPL-3.0-or-later for social web compatibility (#3).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions