Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

auto-reload-page

dmnsgn22MIT2.1.1TypeScript support: included

Auto reload a page at a specified interval.

auto, automatic, page, reload, reloader, frameset, frame

readme

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

Param Type Default Description
url string | Url to be opened
[interval] number 60 * 1000 Interval between each reload
[title] string ""Page content auto reloading"" An optional page title for the separate window

License

MIT. See license file.

changelog

Changelog

All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.

2.1.1 (2024-07-06)

2.1.0 (2021-09-10)

Features

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

2.0.1 (2021-04-04)

Bug Fixes

  • add sideEffects key to package.json (201f927)

2.0.0 (2021-04-01)

Code Refactoring

BREAKING CHANGES

  • switch to type module