reload-tabs

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i reload-tabs

Weekly Downloads

0

Version

2.0.0

License

MIT

Last publish

Collaborators

  • gillstrom
  • kevva