tabs-state-sync
Version:
it is a tiny React hook that makes your app state instantly sync across tabs
52 lines (51 loc) • 1.09 kB
JSON
{
"name": "tabs-state-sync",
"version": "0.1.1",
"description": "it is a tiny React hook that makes your app state instantly sync across tabs",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/cinfinit/tab-state-sync.git"
},
"bugs": {
"url": "https://github.com/cinfinit/tab-state-sync/issues"
},
"homepage": "https://github.com/cinfinit/tab-state-sync#readme",
"scripts": {
"build": "tsup src/index.ts --dts --format esm,cjs"
},
"keywords": [
"tabs-state-sync",
"tab",
"browser",
"sync",
"state",
"react",
"hook",
"typescript",
"javascript",
"storage",
"localStorage",
"sessionStorage",
"syncState"
],
"dependencies": {
"react": "^18.0.0"
},
"devDependencies": {
"@types/react": "^19.1.8",
"tsup": "^8.0.0",
"typescript": "^5.0.0"
}
}