title: Javascript compression algorithm which compresses into strings?
body: <p>Hello I am a high school student who is new to coding and I am working on a science fair project. For my project I am required to use a compression algorithm, due to my lack of knowledge I am restricted to javascript. I found a compression algorithm in jslzjb but the algorithm compresses the message into a byte array when I need it in strings. </p>
  
  <p>Is there a way to compress a message into strings using javascript, by the way I need the compression algorithm to be lossless. </p>
  
  <p>Thanks</p>