cc-haxe/tools/zlibDeflate.js

6 lines
115 B
JavaScript

const zlib = require('node:zlib');
let def = zlib.createDeflate();
process.stdin.pipe(def).pipe(process.stdout);