UNPKG

persist-and-sync

Version:

Zustand middleware to easily persist and sync Zustand state between tabs and windows

59 lines 1.4 kB
{ "name": "persist-and-sync", "author": "Mayank Kumar Chaudhari <https://mayank-chaudhari.vercel.app>", "version": "1.2.2", "description": "Zustand middleware to easily persist and sync Zustand state between tabs and windows", "main": "index.js", "types": "index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/react18-tools/persist-and-sync.git" }, "bugs": { "url": "https://github.com/react18-tools/persist-and-sync/issues" }, "homepage": "https://github.com/react18-tools/persist-and-sync#readme", "sideEffects": false, "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/mayank1513" }, "devDependencies": { "@testing-library/react": "^14.1.2", "@types/node": "^20.10.6", "@vitejs/plugin-react": "^4.2.1", "@vitest/coverage-v8": "^1.1.0", "jsdom": "^23.0.1", "octokit": "^3.1.2", "typescript": "^5.3.3", "vitest": "^1.1.0", "zustand": "^4.4.7" }, "peerDependencies": { "zustand": ">=3" }, "keywords": [ "web", "api", "broadcast", "channel", "sync-tabs", "sync-windows", "sync", "broadcast-channel", "persist", "localStorage", "hooks", "react", "react 18", "zustand", "middleware", "state", "optimized", "tiny", "typescript", "javascript", "mayank1513" ] }