Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trentmwillis/worker-box
A toolbox to help you test Web Workers
https://github.com/trentmwillis/worker-box
javascript testing web-worker worker
Last synced: 19 days ago
JSON representation
A toolbox to help you test Web Workers
- Host: GitHub
- URL: https://github.com/trentmwillis/worker-box
- Owner: trentmwillis
- License: mit
- Created: 2017-09-11T23:22:53.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-08T23:43:58.000Z (almost 7 years ago)
- Last Synced: 2024-10-19T17:55:22.479Z (19 days ago)
- Topics: javascript, testing, web-worker, worker
- Language: JavaScript
- Homepage: https://pretty-okay.com/worker-box
- Size: 48.8 KB
- Stars: 42
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Worker Box [![Build Status](https://travis-ci.org/trentmwillis/worker-box.svg?branch=master)](https://travis-ci.org/trentmwillis/worker-box) [![Documentation](https://media.readthedocs.org/static/projects/badges/passing.svg)](https://pretty-okay.com/worker-box) [![NPM Version](https://badge.fury.io/js/worker-box.svg)](https://www.npmjs.com/package/worker-box)
Worker Box is a toolbox to help you test [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API). It provides an easy way to create, stub, and modify your Workers without complicated test servers or monkey patches. For more info, be sure to check out the [documentation](https://pretty-okay.com/worker-box/)!
## Installation
Install Worker Box through [npm](https://www.npmjs.com/):
```bash
npm install --save-dev worker-box
```And then load it via a script tag in your page:
```html
```
And that's it! The `WorkerBox` global should now be available for use.
## Usage
For information on how to use Worker Box and the APIs it provides, check out [the official documentation]([documentation](https://pretty-okay.com/worker-box/)).