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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.815latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.815
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

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