Socket
Book a DemoInstallSign in
Socket

reload-tabs

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reload-tabs

Reload all Chrome tabs

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
2
Created
Source

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

Keywords

browser

FAQs

Package last updated on 16 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts