mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-05 03:11:04 +01:00
8 lines
228 B
JavaScript
8 lines
228 B
JavaScript
'use strict'
|
|
|
|
var deflateSync = require('./node-zlib').deflateSync;
|
|
|
|
exports.run = function(data, level) {
|
|
// Compression levels not supported. Use unknown defaults always
|
|
return deflateSync(data.typed, { level: level });
|
|
}
|