Skip to content

hackvertor/MentalJS

Repository files navigation

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) 
    }
});

About

JavaScript parser and sandbox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published