thread-emancipator

0.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i thread-emancipator

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • denar90