2.0.0 • Published 8 years ago

reload-tabs v2.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

reload-tabs Build Status

Reload all Chrome tabs

OS X systems only

CLI

$ npm install --global reload-tabs
$ reload-tabs --help

  Usage
    $ reload-tabs

  Options
    --no-chrome    Don't reload tabs in Chrome
    --no-chromium  Don't reload tabs in Chromium

Usage

$ npm install --save reload-tabs
const reloadTabs = require('reload-tabs');

reloadTabs().then(() => {
	console.log('Reloaded tabs');
});

API

reloadTabs(options)

Returns a promise.

options

chrome

Type: boolean Default: true

Decide whether Chrome tabs should be reloaded.

chromium

Type: boolean Default: true

Decide whether Chromium tabs should be reloaded.

Tip

Perfect match with kill-tabs module.

License

MIT © Andreas Gillström