Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dtinth/code-runner
- Owner: dtinth
- Created: 2013-05-10T05:46:39.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-10T05:49:52.000Z (over 11 years ago)
- Last Synced: 2024-05-02T06:07:03.209Z (8 months ago)
- Topics: jasmine
- Language: JavaScript
- Homepage:
- Size: 125 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.