UNPKG

tab-syncer

Version:

A lightweight (4KB) library for browser tab state synchronization and communication. Supports auto-persistence and real-time data sync between tabs.

52 lines (51 loc) 1.35 kB
{ "name": "tab-syncer", "version": "1.0.7", "description": "A lightweight (4KB) library for browser tab state synchronization and communication. Supports auto-persistence and real-time data sync between tabs.", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", "scripts": { "build": "rollup -c", "test:e2e": "pnpm run example & playwright test", "test:e2e:ui": "pnpm run example & playwright test --ui", "example": "node example/server.mjs" }, "keywords": [ "tab", "tab sync", "tabsyncer", "tab-syncer", "browser-tabs", "tab-communication", "state-sync", "cross-tab", "broadcastchannel", "localstorage", "persistence", "real-time" ], "files": [ "dist" ], "author": "telephant11@gmail.com", "devDependencies": { "@playwright/test": "^1.50.1", "@rollup/plugin-commonjs": "^28.0.2", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-typescript": "^12.1.2", "@types/events": "^3.0.3", "@types/node": "^22.13.2", "express": "^4.21.2", "rollup": "^4.34.6", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-terser": "^7.0.2", "tslib": "^2.8.1", "typescript": "^5.7.3" }, "repository": { "type": "git", "url": "https://github.com/telephant/tab-sync.git" }, "license": "MIT" }