Encode/decode "Base64url Encoding" format of JSON Web Signature (JWS) RFC7517.
npm install base64url-universal
* base64url-universal
* encode(input) ⇒ string ⏏
* decode(input) ⇒ Uint8Array ⏏
Kind: Exported function
Returns: string - the encoded value.
| Param | Type | Description |
| --- | --- | --- |
| input | Uint8Array \| string | the data to encode. |
Kind: Exported function
Returns: Uint8Array - the decoded value.
| Param | Type | Description |
| --- | --- | --- |
| input | string | the data to decode. |