import { gzip } from 'pako'; export default async function (data: string): Promise { return gzip(data); }