UNPKG

@proton/ccxt

Version:

A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges

20 lines (15 loc) 417 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var zlib = require('zlib'); function inflate(data) { return zlib.inflateRawSync(data).toString(); } function inflate64(data) { return inflate(Buffer.from(data, 'base64')); } function gunzip(data) { return zlib.gunzipSync(data).toString(); } exports.gunzip = gunzip; exports.inflate = inflate; exports.inflate64 = inflate64;