0.1.1 • Published 11 years ago
unworkify v0.1.1
unworkify
Non-concurrent API compatible with webworkers for environments where webworkers are unavailable
Works as drop-in replacement for @substack's webworkify, instead of:
w = require('webworkify')(require('./worker.js'));write:
w = require('unworkify')(require('./worker.js'));Compatible with NodeJS and browserify. Warning: incomplete and possibly buggy API implementation
Example
See example/main.js, uses webworkify in the browser and unworkify on servers (based on the webworkify example).
See also
- node-webworker-threads - WebWorker API for NodeJS using threads
- node-worker - WebWorker API for NodeJS using processes
License
MIT