title: Compressing a JSON string? (And strings in general)
body: <p>How should I go about compressing a very large JSON string to transmit over websockets? (Also later to store in localStorage)</p>
  
  <p>It's already minified, but I need something that can do this: <a href="http://www.unit-conversion.info/texttools/compress/" rel="noreferrer">http://www.unit-conversion.info/texttools/compress/</a> (I tried poking about in the source there and couldn't figure it out)</p>