crush JavaScript files - reduce file size by 20% or more
npm install @sporeball/node-crush> crush JavaScript files - reduce file size by 20% or more
a port of Aivo Paas' tool JSCrush for the modren era -- TypeScript declarations, no leaking to the global scope, etc.
uses a brute-force algorithm to produce a compressed statement that can be eval'ed back into the original.\
this has been a staple of JS1k for many years.
$ npm install @sporeball/node-crush
`API
$3
#### input
type:
string`a string containing the JavaScript code to crush.
---
