Back to Jose

Function: encode()

docs/util/base64url/functions/encode.md

6.2.2596 B
Original Source

Function: encode()

šŸ’— Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.

ā–ø encode(input): string

Encodes an input using Base64URL with no padding.

Parameters

ParameterType
inputstring | Uint8Array

Returns

string