JSPM

scope-eval

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 175955
  • Score
    100M100P100Q158579F
  • License MIT

Package Exports

  • scope-eval

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 (scope-eval) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

scope-eval

Eval a string with a passed scope

Example:

scopeEval = require('scope-eval')

scopeEval("return a + b + c", {
  a: 1,
  b: 2,
  c: 3
}) // Returns 6