Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

alexdavid/scope-eval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scope-eval

Eval a string with a passed scope

Example:

scopeEval = require('scope-eval')

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

About

Eval a string with a passed scope

Resources

License

Stars

Watchers

Forks

Packages

No packages published