Skip to content
JavaScript parser and sandbox
JavaScript PHP HTML CSS
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
images
javascript
jstests
php_experimental
scripts
.gitattributes
.gitignore
.project
LICENSE
MentalJS.html
README.md
demo.html

README.md

MentalJS

MentalJS is a JavaScript parser and sandbox. It whitelists JavaScript code by adding a "$" suffix to variables and accessors.

Usage

var js = MentalJS();
js.parse({
    code:'1+1',
    result:function(result){ 
      alert(result) 
    }
});
You can’t perform that action at this time.