Enrich a text into a simple and compressed BASE92 readable string & deplete it back!
Only 53.5 KB, and save up to 45% on any source text...
DEMO : https://codepen.io/vipertechofficial/pen/JjBXJPR
But look, why would someone with the proper tools beside of him just throw -25% of size inside getting to use an encoding in Base64 if it is to embded it inside JSON or a STRING which can truly handle more likely 92 characters without hurting itself into parsing or readability issues!
So, while you might get up to 45% lighter source file for web worker function, you might also be able to embded them directly inside your JS text file and load them quite fast! Or one may be using it to save translation file more kindly inside a .js ...
It doesn't use the following characters excepting space / \ " ' `
How to use it?
And to compress a function...
Check it out on NPM --> https://www.npmjs.com/package/uraniumjs
Top comments (0)