esmangle-evaluator

1.0.1 • Public • Published

esmangle-evaluator

esmangle's evaluator.js as a standalone module.

evaluator.js is an unmodified copy of the original.

common.js is a stub of the original with a few helpers/constants required by evaluator.js.

Exports

{
  constant: {
    doBinary: [Function: doBinary],
    doUnary: [Function: doUnary],
    doLogical: [Function: doLogical],
    evaluate: [Function: getConstant],
    isConstant: [Function: isConstant]
  },
  hasSideEffect: [Function: hasSideEffect],
  booleanCondition: [Function: booleanCondition]
}

Readme

Keywords

Package Sidebar

Install

npm i esmangle-evaluator

Weekly Downloads

12,734

Version

1.0.1

License

MIT

Last publish

Collaborators

  • zertosh