Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kyleamathews/browser-tab-id

Library to get a unique integer id. Defaults to getting lowest positive integer
https://github.com/kyleamathews/browser-tab-id

Last synced: 16 days ago
JSON representation

Library to get a unique integer id. Defaults to getting lowest positive integer

Awesome Lists containing this project

README

        

# browser-tab-id
Library to get a unique integer id for each tab running the same app. Defaults to getting lowest positive integer.

Handles multiple tabs opening concurrently.

## Usage

```ts
import { TabIdCoordinator } from "browser-tab-id"

// Access the assigned tab ID.
tabIdCoordinator.tabId
```