UNPKG

jose

Version:

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes

10 lines (9 loc) 306 B
/** * Base64URL encoding and decoding utilities * * @module */ /** Decodes a Base64URL encoded input. */ export declare function decode(input: Uint8Array | string): Uint8Array; /** Encodes an input using Base64URL with no padding. */ export declare function encode(input: Uint8Array | string): string;