0.1.1 • Published 7 years ago

thread-emancipator v0.1.1

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

Thread emancipator Build Status

Thread business detector

Install

$ npm install --save thread-emancipator

Usage

$ thread-emancipator path-to-script.js

or

const threadEmancipator = require('thread-emancipator');

const isThreadBusy = await threadEmancipator('path-to-script.js', 'application-url');
// default application-url is https://www.google.com, if your script is application specific then yous your own url

Motivation

@samccone's talk at Chrome Dev Summit one of the ideas was using WebWorkers

image

License

MIT