function
Source: compression.ts ↗
compressForUrl()
Compresses data to a URL-safe string
export declare function compressForUrl<T>(data: T): string;
Parameters
Parameter | Type | Description |
|---|---|---|
data | T | Data to compress |
Returns
string
Compressed data string suitable for URL parameters