Socket
Socket
Sign inDemoInstall

auto-reload-page

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    auto-reload-page

Auto reload a page at a specified interval.


Version published
Maintainers
1
Install size
7.13 kB
Created

Changelog

Source

2.1.0 (2021-09-10)

Features

  • add exports field to package.json (9c24d79)

Readme

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

FAQs

Last updated on 10 Sep 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc