JSPM

@eduardojdh/constant-folding

1.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q29267F
  • License Unlicense

Constant Folding javascript code

Package Exports

  • @eduardojdh/constant-folding
  • @eduardojdh/constant-folding/src/constant-folding.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@eduardojdh/constant-folding) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

CI for constant-folding

constant-folding

A minimal node module providing utility to traverse an ast to makes some changes and substitute values of known constants in expressions.

Installation

npm install @eduardojdh/constant-folding

Usage from code:

const constantFolding = require('constant-folding');
//call the function

Author

Eduardo Díaz Hernández - alu0101118642

Tests

npm test

See also ULL-ESIT-PL-2122 / constant-folding-production-test-eduardo-diaz-hernandez-alu0101118642 to test this module.

See also the main repo made of this repo and the prueba repo