Created
December 7, 2012 03:17
-
-
Save floydpink/4230480 to your computer and use it in GitHub Desktop.
lzwCompress.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To compress anything from within JS | |
var compressed = lzwCompress.pack(humongousObj); | |
// And to decompress it | |
var original = lzwCompress.unpack(compressed); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment