# set-tab-status-icon

> Dynamically set a colored status icon as the page favicon in the tab bar.

Latest version **1.0.0** (published 2017-02-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install set-tab-status-icon
pnpm add set-tab-status-icon
yarn add set-tab-status-icon
bun add set-tab-status-icon
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-02-22 |
| First published | 2017-02-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Brad Buchanan |
| Maintainers | islemaster |
| Keywords | browser, status, favicon |

## Links

- npm: https://www.npmjs.com/package/set-tab-status-icon
- npm.io page: https://npm.io/package/set-tab-status-icon

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-02-22

## README

# set-tab-status-icon

A single function that will change the current page's favicon (displayed in the tab bar) to a simple colored status icon, on demand.

## Usage

```
setTabStatusIcon('not-started'); // Gray icon
setTabStatusIcon('in-progress'); // Blue icon
setTabStatusIcon('pass'); // Green icon
setTabStatusIcon('fail'); // Red icon
setTabStatusIcon('#ff00dd'); // Pass any custom color
```

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