1.0.2 • Published 9 years ago

json-lzma-wrap v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
9 years ago

This plugin creates a base64 string for GRUNT builds. It ic a LZMA binary which you will need to use a decompression function

the following decompression works pretty well, essentially you want a ajax which will NOT get a json response, but rather a self executing function.

(function(){return "XQAAAAKVqAwAAAAAAAA9goBCAF3Qrh+Nx1Ol2CAt8MUAP7dTn4"}())

You then pass this function into decompression utility, i have included it in here also but as decompression.js this is written in ES6

DecompressionUtil.lzmaJSON = (response) => {};

you can use it as such DecompressionUtil.lzmaJSON(ajaxJSONresponse)

This will then return a something which you can parse as json.

compression clocks in at around 90%

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago