Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dtinth/code-runner

Run arbitary JavaScript code in a WebWorker sandbox, with timeout and some kind of communication with host. Only works with latest Firefox and Chrome.
https://github.com/dtinth/code-runner

jasmine

Last synced: 30 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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`.