🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

auto-reload-page

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-reload-page

Auto reload a page at a specified interval.

2.1.1
latest
Source
npm
Version published
Weekly downloads
11
120%
Maintainers
0
Weekly downloads
 
Created
Source

auto-reload-page

npm version stability-stable npm minzipped size dependencies types Conventional Commits styled with prettier linted with eslint license

Auto reload a page at a specified interval.

paypal coinbase twitter

Installation

npm install auto-reload-page

Usage

import autoReloadPage from "auto-reload-page";

// Open url in a separate window and reload every 10 seconds
autoReloadPage("https://www.ipcc.ch/", 10000);

API

autoReloadPage(url, [interval], [title])

Auto reload a page at a specified interval.

Kind: global function

ParamTypeDefaultDescription
urlstringUrl to be opened
[interval]number60 * 1000Interval between each reload
[title]string""Page content auto reloading""An optional page title for the separate window

License

MIT. See license file.

Keywords

auto

FAQs

Package last updated on 06 Jul 2024

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