Skip to content
This repository was archived by the owner on Oct 27, 2026. It is now read-only.
curtiscdePublic archive

About

📫 JS Library for managing your browser title notifications

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

28 Commits

Folders and files

Repository files navigation

Tab Notifier

Travis CI Build Status Coverage Status

Usage

import TabNotifier from 'tab-notifier';

notify()

Prefixes the document title with a number

TabNotifier.notify(); // prefixes title with (1)
TabNotifier.notify(1); // prefixes title with (1)
TabNotifier.notify(2); // prefixes title with (2)

notifyMessage()

Updates the document title to a specific message and alternates every 1 second by default

TabNotifier.notifyMessage('New Message Received!');

Options:

TabNotifier.notifyMessage('New Message Received!', {
  intervalSpeed: 1000
});

reset()

Resets the title back to the original document title

TabNotifier.reset();

Development

npm start

Build

npm run build

About

📫 JS Library for managing your browser title notifications

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages