mirror of
https://github.com/danbulant/jose
synced 2026-05-20 04:48:52 +00:00
11 lines
453 B
JavaScript
11 lines
453 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.deflate = exports.inflate = void 0;
|
|
const util_1 = require("util");
|
|
const zlib_1 = require("zlib");
|
|
const inflateRaw = (0, util_1.promisify)(zlib_1.inflateRaw);
|
|
const deflateRaw = (0, util_1.promisify)(zlib_1.deflateRaw);
|
|
const inflate = (input) => inflateRaw(input);
|
|
exports.inflate = inflate;
|
|
const deflate = (input) => deflateRaw(input);
|
|
exports.deflate = deflate;
|