mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-05 11:20:58 +01:00
11 lines
209 B
JavaScript
11 lines
209 B
JavaScript
'use strict'
|
|
|
|
var pako = require('../../../');
|
|
var utils = require('../../../lib/utils/common');
|
|
|
|
exports.run = function(data, level) {
|
|
pako.deflate(data.string, {
|
|
level: level,
|
|
to: 'string'
|
|
});
|
|
}
|