Skip to content

Run arbitary JavaScript code in a WebWorker sandbox, with timeout and some kind of communication with host. Only works with latest Firefox and Chrome.

Notifications You must be signed in to change notification settings

dtinth/code-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

code-runner

A JavaScript code runner that runs arbitary JavaScript code inside a WebWorker.

It supports

  • Timeout (terminates the worker when timeout is reached)
  • Error Handling
  • Bridges to Host Window

The spec is in spec/code-runner-spec.js. You can run it by run spec.html.

The example is available in test.html.

About

Run arbitary JavaScript code in a WebWorker sandbox, with timeout and some kind of communication with host. Only works with latest Firefox and Chrome.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published