Skip to content

bcooksey/web-worker-demos

Repository files navigation

Web Worker Demos

Three demos showing off web workers:

  1. basic.html - A simple dedicated web worker.
  2. inline.html - Showing how you can use inline JS to power a dedicated worker. Good if you minify
  3. shared.html - Simple example of a shared worker. Open two tabs and watch how the worker interacts with both

Install

Serve up the root of the project with your favorite static web server and you are off and running!

Node.js

npm install http-server -g

http-server -p 8080

Python

python -m SimpleHTTPServer 8080

About

A set of web worker demos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published