Javascript – Reliably compress a string of 1s and 0s into a smaller string, and convert it back to the Exact same string. Everytime
I was wondering if there is a better way to do this in NodeJS or plain javascript. I wrote some functions that can do this by counting how many times they repeat, but i was wondering if there is a…