# tab-notifier

Latest version **0.4.0** (published 2019-09-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install tab-notifier
pnpm add tab-notifier
yarn add tab-notifier
bun add tab-notifier
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.0 |
| Published | 2019-09-29 |
| First published | 2019-06-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 11 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Curtis Timson |
| Maintainers | curttimson |

## Links

- npm: https://www.npmjs.com/package/tab-notifier
- Repository: https://github.com/curtistimson/tab-notifier
- Homepage: https://github.com/curtistimson/tab-notifier#readme
- Issues: https://github.com/curtistimson/tab-notifier/issues
- npm.io page: https://npm.io/package/tab-notifier

## Recent versions

- 0.4.0 (latest) — 2019-09-29
- 0.3.0 — 2019-09-29
- 0.2.0 — 2019-09-29
- 0.1.0 — 2019-07-04
- 0.0.0-dev.0 — 2019-06-27

## README

# Tab Notifier

<img src="https://img.shields.io/npm/v/tab-notifier.svg" alt="Travis CI Build 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
```

---
_Source: https://npm.io/package/tab-notifier · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
