@alu0101317496/constant-folding
v1.0.7
Published
Constant Folding javascript code
Downloads
12
Maintainers
Readme
constant-folding
This module is an optimization for compiling time written in JS using the AST.
Installation
npm i @alu0101317496/constant-folding
Usage as executable:
npx cf
Usage from code:
const constantFolding = require('@alu0101317496/constant-folding');
//call the function
The documentation of the function.
Examples
npx cf input.js output.js
Salida:
a = 3;
Author
alu0101317496