UNPKG

@alu0101350158/constant-folding

Version:
34 lines (18 loc) 885 B
[![npm version](https://badge.fury.io/js/%40alu0101350158%2Fconstant-folding.svg)](https://badge.fury.io/js/%40alu0101350158%2Fconstant-folding) [![CI for constant-folding](https://github.com/ULL-ESIT-PL-2021/constant-folding-module-alu0101350158/actions/workflows/nodejs.yml/badge.svg)](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