browser-tab-id
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

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

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i browser-tab-id

    Weekly Downloads

    15

    Version

    0.0.8

    License

    MIT

    Unpacked Size

    14.8 kB

    Total Files

    7

    Last publish

    Collaborators

    • kylemathews