/worker-box

A toolbox to help you test Web Workers

Primary LanguageJavaScriptMIT LicenseMIT

Worker Box Build Status Documentation NPM Version

Worker Box is a toolbox to help you test Web Workers. 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!

Installation

Install Worker Box through npm:

npm install --save-dev worker-box

And then load it via a script tag in your page:

<script src="/node_modules/worker-box/index.js"></script>

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.