mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-04 10:50:59 +01:00
8 lines
222 B
JavaScript
8 lines
222 B
JavaScript
'use strict';
|
|
|
|
const deflateSync = require('zlibjs').deflateSync;
|
|
|
|
exports.run = (data, level) => {
|
|
// Compression levels not supported. Use unknown defaults always
|
|
return deflateSync(data.typed, { level: level });
|
|
};
|