unworkify

0.1.1 • Public • Published

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

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i unworkify

Weekly Downloads

3

Version

0.1.1

License

MIT

Last publish

Collaborators

  • deathcap