Skip to main content
Deno 2 is finally here 🎉️
Learn more
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
jose
/
util
/
base64url.ts
"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
panva/jose
Extremely Popular
Version
v5.9.6
v5.9.5
v5.9.4
v5.9.3
v5.9.2
v5.9.1
v5.9.0
v5.8.0
v5.7.0
v5.6.3
v5.6.2
v5.6.1
v5.6.0
v5.5.0
v5.4.1
v5.4.0
v5.3.0
v5.2.4
v5.2.3
v4.15.5
v5.2.2
v5.2.1
v5.2.0
v5.1.3
v5.1.2
v5.1.1
v5.1.0
v5.0.2
v5.0.1
v5.0.0
v4.15.4
v4.15.3
v4.15.2
v4.15.1
v4.15.0
v4.14.6
v4.14.5
v4.14.4
v4.14.3
v4.14.2
v4.14.1
v4.14.0
v4.13.2
v4.13.1
v4.13.0
v4.12.2
v4.12.1
v4.12.0
v4.11.4
v4.11.3
v4.11.2
v4.11.1
v4.11.0
v4.10.4
v4.10.3
v4.10.2
v4.10.1
v4.10.0
v4.9.3
v4.9.2
v3.20.4
v4.9.1
v4.9.0
v4.8.3
v4.8.2
v4.8.1
v4.8.0
v4.7.0
v4.6.2
v4.6.1
v4.6.0
v4.5.3
v4.5.2
v4.5.1
v4.5.0
v4.4.0
v4.3.9
v4.3.8
v4.3.7
v4.3.6
v4.3.5
v4.3.4
v4.3.3
v4.3.2
v4.3.1
v4.3.0
v4.2.1
v4.2.0
v4.1.5
v4.1.4
v4.1.3
v4.1.2
v4.1.1
v4.1.0
v4.0.4
v4.0.3
v4.0.2
v4.0.1
v4.0.0
v3.20.3
v3.20.2
v3.20.1
v3.20.0
v3.19.0
v3.18.0
v3.17.0
v3.16.1
v3.16.0
v3.15.5
v3.15.4
v3.15.3
v3.15.2
v3.15.1
v3.15.0
v3.15.0-pre.0
Go to Latest
Menu
base64url.ts
v
decode
v
encode
decode_jwt.ts
f
decodeJwt
decode_protected_header.ts
T
ProtectedHeaderParameters
f
decodeProtectedHeader
errors.ts
c
JOSEAlgNotAllowed
c
JOSEError
c
JOSENotSupported
c
JWEDecryptionFailed
c
JWEInvalid
c
JWKInvalid
c
JWKSInvalid
c
JWKSMultipleMatchingKeys
c
JWKSNoMatchingKey
c
JWKSTimeout
c
JWSInvalid
c
JWSSignatureVerificationFailed
c
JWTClaimValidationFailed
c
JWTExpired
c
JWTInvalid
import
*
as
jose
from
"https://deno.land/x/jose@v4.14.4/util/base64url.ts"
;
Variables
v
decode
v
encode