1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-09-23 20:35:47 +00:00

Initial commit

This commit is contained in:
Tobias Springer
2020-05-09 16:45:23 +02:00
commit 93c6ea683d
304 changed files with 56031 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
"use strict";
const lzString = require("lz-string");
module.exports = function (source) {
const compressed = lzString.compressToEncodedURIComponent(source);
const sourcecode = `module.exports = (function() {
return JSON.parse(require("global-compression").decompressX64("${compressed}"));
})()`;
return sourcecode;
};