⌈⌋ ⎇ branch:  Bitrhythm


Artifact Content

Artifact 853f3200a848ab9afd61baafe11b518c70f8f46abf112991cf459819d979bf77:


import LOADERS from 'main/loaders';

export default {
	pack: false,
	encode: true,
	compress: async string => Buffer.from((await LOADERS.lzstring()).compressToUint8Array(string)),
	decompress: async buffer => (await LOADERS.lzstring()).decompressFromUint8Array(buffer)
};