Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 304 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 304 Bytes

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

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

// Access the assigned tab ID.
tabIdCoordinator.tabId