## encodeBase64Url() function

Encodes a string into Base64URL format. This is the encoding required for JWT parts.

**Signature:**

```typescript
export declare function encodeBase64Url(data: string): string;
```

## Parameters

| Parameter | Type   | Description                     |
|-----------|--------|---------------------------------|
| data      | string | The unencoded input string.     |

**Returns:**

string

The Base64URL encoded string.
