Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kyleamathews/browser-tab-id
- Owner: KyleAMathews
- License: mit
- Created: 2024-01-08T17:31:19.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-02-22T19:01:57.000Z (9 months ago)
- Last Synced: 2024-10-14T12:59:42.624Z (29 days ago)
- Language: TypeScript
- Size: 205 KB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```