1.0.7 • Published 3 years ago
@alu0101317496/constant-folding v1.0.7
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
alu0101317496@ull.edu.es