mni 0.1.1

A world-class minifier for JavaScript, CSS, and JSON written in Rust
Documentation
1
function fibonacci(t){return t<=1?t:fibonacci(t-1)+fibonacci(t-2);}class Calculator{constructor(){this.result=0,this.history=[];}add(t,l){return this.result=t+l,this.history.push({operation:"add",result:this.result}),this.result;}multiply(t,l){return this.result=t*l,this.history.push({operation:"multiply",result:this.result}),this.result;}getHistory(){return this.history;}}let numbers=[1,2,3,4,5,6,7,8,9,10],doubled=numbers.map(t=>2*t),filtered=numbers.filter(t=>t%2==0),sum=numbers.reduce((t,l)=>t+l,0);console.log("Doubled:",doubled),console.log("Filtered:",filtered),console.log("Sum:",sum);let calc=new Calculator;calc.add(10,20),calc.multiply(5,6),console.log("Calculator history:",calc.getHistory());let x=15,y=40,z=55;export{fibonacci,Calculator};