@alu0101350158/constant-folding
Version:
Constant Folding javascript code
34 lines (18 loc) • 885 B
Markdown
[](https://badge.fury.io/js/%40alu0101350158%2Fconstant-folding)
[](https://github.com/ULL-ESIT-PL-2021/constant-folding-module-alu0101350158/actions/workflows/nodejs.yml)
## constant-folding
## Installation
npm install @alu0101350158/constant-folding
## Usage as executable:
./node_modules/@alu0101350158/constant-folding/bin/constant-folding-cli.js input.js -o output.js
## Usage from code:
```javascript
const constantFolding = require('constant-folding');
//call the function
```
[The documentation of the function](https://ull-esit-pl-2021.github.io/constant-folding-module-alu0101350158/).
## Examples
## Author
alu0101350158
## Tests
npm test