{"_id":"zustand-pub","_rev":"3212780","name":"zustand-pub","description":"Cross-Application/Cross-Framework State Management And Sharing based on zustand for React/Vue","dist-tags":{"latest":"1.0.0-beta.19"},"maintainers":[{"name":"awesomedevin","email":""}],"time":{"modified":"2024-02-28T06:15:04.000Z","created":"2023-02-01T06:31:45.062Z","1.0.0-beta.19":"2023-08-18T03:50:24.152Z","1.0.0-beta.18":"2023-07-12T06:12:01.180Z","1.0.0-beta.17":"2023-07-12T03:32:09.218Z","1.0.0-beta.16":"2023-05-17T12:34:13.209Z","1.0.0-beta.15":"2023-05-11T06:00:04.754Z","1.0.0-beta.14":"2023-05-11T04:57:12.502Z","1.0.0-beta.13":"2023-03-03T13:42:17.576Z","1.0.0-beta.12":"2023-03-03T13:34:50.019Z","1.0.0-beta.11":"2023-02-24T15:47:48.413Z","1.0.0-beta.10":"2023-02-24T15:46:20.830Z","1.0.0-beta.9":"2023-02-15T03:15:33.820Z","1.0.0-beta.8":"2023-02-15T03:14:36.792Z","1.0.0-beta.7":"2023-02-07T07:55:46.890Z","1.0.0-beta.6":"2023-02-07T06:37:56.036Z","1.0.0-beta.5":"2023-02-01T13:42:12.714Z","1.0.0-beta.4":"2023-02-01T13:40:32.787Z","1.0.0-beta.3":"2023-02-01T11:24:00.615Z","1.0.0-beta.2":"2023-02-01T09:26:20.454Z","1.0.0-beta.1":"2023-02-01T06:31:45.062Z"},"users":{},"author":{"name":"AwesomeDevin"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"versions":{"1.0.0-beta.19":{"name":"zustand-pub","version":"1.0.0-beta.19","description":"Cross-Application/Cross-Framework State Management And Sharing based on zustand for React/Vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state sharing","state management","micro-frontend","modularization","react","vue"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.19"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.1","typescript":"^4.9.3","vite":"^4.0.4","zustand-vue":"1.0.0-beta.19"},"gitHead":"e5de01c0fdf499af5e56c4aacd335349d9863c11","_id":"zustand-pub@1.0.0-beta.19","_nodeVersion":"18.15.0","_npmVersion":"9.6.7","dist":{"shasum":"40d3a6e6503cb916d5403ee19b187a99728dd45f","size":1647086,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.19.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.19.tgz"},"_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.19_1692330623831_0.5630573048719416"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-18T03:50:24.152Z","publish_time":1692330624152,"_source_registry_name":"default","_cnpm_publish_time":1692330624152},"1.0.0-beta.18":{"name":"zustand-pub","version":"1.0.0-beta.18","description":"Cross-Application/Cross-Framework State Management And Sharing based on zustand for React/Vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state sharing","state management","micro-frontend","modularization","react","vue"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.19"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.1","typescript":"^4.9.3","vite":"^4.0.4","zustand-vue":"1.0.0-beta.19"},"gitHead":"8fd52a6a5b2bd3d0c2fab8001c213a3184b2ba71","_id":"zustand-pub@1.0.0-beta.18","_nodeVersion":"18.15.0","_npmVersion":"9.6.7","dist":{"shasum":"1d67f638f8ee15538873de85cea86739ed322c37","size":1647010,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.18.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.18.tgz"},"_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.18_1689142320902_0.05407580752480601"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-12T06:12:01.180Z","publish_time":1689142321180,"_source_registry_name":"default","_cnpm_publish_time":1689142321180},"1.0.0-beta.17":{"name":"zustand-pub","version":"1.0.0-beta.17","description":"Cross-Application/Cross-Framework State Management And Sharing based on zustand for React/Vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state sharing","state management","micro-frontend","modularization","react","vue"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.19"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.1","typescript":"^4.9.3","vite":"^4.0.4","zustand-vue":"1.0.0-beta.19"},"gitHead":"8fd52a6a5b2bd3d0c2fab8001c213a3184b2ba71","_id":"zustand-pub@1.0.0-beta.17","_nodeVersion":"18.15.0","_npmVersion":"9.6.7","dist":{"shasum":"3507df29e9664164342e6c355d4e2d180fe14982","size":1646999,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.17.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.17.tgz"},"_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.17_1689132729001_0.07543493260048328"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-12T03:32:09.218Z","publish_time":1689132729218,"_source_registry_name":"default","_cnpm_publish_time":1689132729218},"1.0.0-beta.16":{"name":"zustand-pub","version":"1.0.0-beta.16","description":"Cross-Application/Cross-Framework State Management And Sharing based on zustand for React/Vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state sharing","state management","micro-frontend","modularization","react","vue"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.19"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.1","typescript":"^4.9.3","vite":"^4.0.4","zustand-vue":"1.0.0-beta.19"},"dependencies":{"zustand-pub":"^1.0.0-beta.15"},"gitHead":"fbf018597c69fba3ec0f93aefd2889b207840e83","_id":"zustand-pub@1.0.0-beta.16","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"shasum":"2e9df1ba9bbdd700523252fcc4bfaf2ba963bb4a","size":1646492,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.16.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.16.tgz"},"_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.16_1684326852910_0.7279659840489867"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-17T12:34:13.209Z","publish_time":1684326853209,"_source_registry_name":"default","_cnpm_publish_time":1684326853209},"1.0.0-beta.15":{"name":"zustand-pub","version":"1.0.0-beta.15","description":"Cross-Application/Cross-Framework State Management And Sharing based on zustand for React/Vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state sharing","state management","micro-frontend","modularization","react","vue"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.19"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.1","typescript":"^4.9.3","vite":"^4.0.4","zustand-vue":"1.0.0-beta.19"},"gitHead":"467734485d02ff8eb6c01f87f5d1d3a01397d603","_id":"zustand-pub@1.0.0-beta.15","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"shasum":"82c1c9b2760193c9652fdbb0ae659b5a89d58e7d","size":1646468,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.15.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.15.tgz"},"_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.15_1683784804520_0.7931801994844456"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-11T06:00:04.754Z","publish_time":1683784804754,"_source_registry_name":"default","_cnpm_publish_time":1683784804754},"1.0.0-beta.14":{"name":"zustand-pub","version":"1.0.0-beta.14","description":"Cross-Application/Cross-Framework State Management And Sharing based on zustand for React/Vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state sharing","state management","micro-frontend","modularization","react","vue"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.19"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.1","typescript":"^4.9.3","vite":"^4.0.4","zustand-vue":"1.0.0-beta.19"},"gitHead":"7dfebbc83f44c51d51458b9f025cce7a5baec2ef","_id":"zustand-pub@1.0.0-beta.14","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"shasum":"0d04de9587e1a5fd706b4388faa2dda3dbce6758","size":1646468,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.14.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.14.tgz"},"_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.14_1683781032206_0.7887461186476312"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-11T04:57:12.502Z","publish_time":1683781032502,"_source_registry_name":"default","_cnpm_publish_time":1683781032502},"1.0.0-beta.13":{"name":"zustand-pub","version":"1.0.0-beta.13","description":"Cross-Application/Cross-Framework State Management And Sharing based on zustand for React/Vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state sharing","state management","micro-frontend","modularization","react","vue"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.19"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.1","typescript":"^4.9.3","vite":"^4.0.4","zustand-vue":"1.0.0-beta.19"},"gitHead":"e7f88b7052edd43f2d1755bbca0e25cfd8c32fe5","_id":"zustand-pub@1.0.0-beta.13","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"dist":{"shasum":"e4c8066e166e1a0354070cea0c4d8ec6988ef527","size":4766,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.13.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.13.tgz"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.13_1677850937389_0.33915420125587037"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-03T13:42:17.576Z","publish_time":1677850937576,"_cnpm_publish_time":1677850937576},"1.0.0-beta.12":{"name":"zustand-pub","version":"1.0.0-beta.12","description":"Cross-Application/Cross-Framework State Management And Sharing based on zustand for React/Vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state sharing","state management","micro-frontend","modularization","react","vue"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.19"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.1","typescript":"^4.9.3","vite":"^4.0.4","zustand-vue":"1.0.0-beta.19"},"gitHead":"20a6209909f94e28dfd82b63024bc73aa88c7424","_id":"zustand-pub@1.0.0-beta.12","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"dist":{"shasum":"47eddac9c50e6a4c08e047c13fa85a42ee552593","size":4787,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.12.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.12.tgz"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.12_1677850489844_0.4837947425515796"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-03T13:34:50.019Z","publish_time":1677850490019,"_cnpm_publish_time":1677850490019},"1.0.0-beta.11":{"name":"zustand-pub","version":"1.0.0-beta.11","description":"Cross-Application/Cross-Framework State Management And Sharing based on zustand for React/Vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state sharing","state management","micro-frontend","modularization","react","vue"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.19"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.1","typescript":"^4.9.3","vite":"^4.0.4","zustand-vue":"1.0.0-beta.19"},"gitHead":"12891ee2e7e16c1049a805035802f323ec86ec64","_id":"zustand-pub@1.0.0-beta.11","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"dist":{"shasum":"ca1b8a5d0d80063eb1b0cbf50f77cce06f1de218","size":4196,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.11.tgz"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.11_1677253668243_0.5999008095676783"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-24T15:47:48.413Z","publish_time":1677253668413,"_cnpm_publish_time":1677253668413},"1.0.0-beta.10":{"name":"zustand-pub","version":"1.0.0-beta.10","description":"Cross-Application/Cross-Framework State Management And Sharing based on zustand for React/Vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state sharing","state management","micro-frontend","modularization","react","vue"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.19"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.1","typescript":"^4.9.3","vite":"^4.0.4","zustand-vue":"1.0.0-beta.19"},"gitHead":"12891ee2e7e16c1049a805035802f323ec86ec64","_id":"zustand-pub@1.0.0-beta.10","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"dist":{"shasum":"9279a010a2b195a7b35801f20de03639fec36353","size":4188,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.10.tgz"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.10_1677253580683_0.37197127173791067"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-24T15:46:20.830Z","publish_time":1677253580830,"_cnpm_publish_time":1677253580830},"1.0.0-beta.9":{"name":"zustand-pub","version":"1.0.0-beta.9","description":"Cross-Application/Cross-Framework State Management And Sharing based on zustand for React/Vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state-share","micro-frontend","modularization"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.12"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.1","typescript":"^4.9.3","vite":"^4.0.4","zustand-vue":"1.0.0-beta.12"},"gitHead":"5284cdedbe9499afa5d803b2dba8b1a295deec60","_id":"zustand-pub@1.0.0-beta.9","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"dist":{"shasum":"c9604376c1770e8e43b0a1642f8df74baf800148","size":3781,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.9.tgz"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.9_1676430933658_0.7070399907676863"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-15T03:15:33.820Z","publish_time":1676430933820,"_cnpm_publish_time":1676430933820},"1.0.0-beta.8":{"name":"zustand-pub","version":"1.0.0-beta.8","description":"Cross-Application/Cross-Framework State Management And Sharing based on zustand for React/Vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state-share","micro-frontend","modularization"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.12"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.1","typescript":"^4.9.3","vite":"^4.0.4","zustand-vue":"1.0.0-beta.12"},"gitHead":"5284cdedbe9499afa5d803b2dba8b1a295deec60","_id":"zustand-pub@1.0.0-beta.8","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"dist":{"shasum":"9eb4629c7fb72a2a1967c5e56db24ce9e532f5d7","size":3817,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.8.tgz"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.8_1676430876623_0.73348642618946"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-15T03:14:36.792Z","publish_time":1676430876792,"_cnpm_publish_time":1676430876792},"1.0.0-beta.7":{"name":"zustand-pub","version":"1.0.0-beta.7","description":"Cross-Application/Cross-Framework State Management And Sharing based on zustand for React/Vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state-share","micro-frontend","modularization"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.6"},"devDependencies":{"@rollup/plugin-commonjs":"^24.0.1","typescript":"^4.9.3","vite":"^4.0.4","zustand-vue":"^1.0.0-beta.6"},"gitHead":"3163cffde21e71eefabd03db3ecb282f0f91a89d","_id":"zustand-pub@1.0.0-beta.7","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"dist":{"shasum":"e6e3883cdc394158cac77d5d535fc5167d0a6505","size":3582,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.7.tgz"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.7_1675756546741_0.32092506087992057"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-07T07:55:46.890Z","publish_time":1675756546890,"_cnpm_publish_time":1675756546890},"1.0.0-beta.6":{"name":"zustand-pub","version":"1.0.0-beta.6","description":"State management for cross-application based on zustand","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state-share","micro-frontend","modularization"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.6"},"devDependencies":{"vite":"^4.0.4","zustand-vue":"^1.0.0-beta.6","typescript":"^4.9.3"},"gitHead":"43451e0375223366e9e3a4fadeb3761b30ec9077","_id":"zustand-pub@1.0.0-beta.6","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"dist":{"shasum":"1faa1cea79af15cd6c55a87c79d823e40eef85be","size":3576,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.6.tgz"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.6_1675751875914_0.9243648261412372"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-07T06:37:56.036Z","publish_time":1675751876036,"_cnpm_publish_time":1675751876036},"1.0.0-beta.5":{"name":"zustand-pub","version":"1.0.0-beta.5","description":"State management for cross-application based on zustand","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state-share","micro-frontend","modularization"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.5"},"devDependencies":{"vite":"^4.0.4","zustand-vue":"^1.0.0-beta.5","typescript":"^4.9.3"},"gitHead":"68540b2a2c20d37ca8f5eb48b6ca68ced77abdac","_id":"zustand-pub@1.0.0-beta.5","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"dist":{"shasum":"3452d3b30768e681aa6927bbb94d2af9fb1048b0","size":2449,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.5.tgz"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.5_1675258932546_0.8572422069818175"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-01T13:42:12.714Z","publish_time":1675258932714,"_cnpm_publish_time":1675258932714},"1.0.0-beta.4":{"name":"zustand-pub","version":"1.0.0-beta.4","description":"State management for cross-application based on zustand","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./*":{"types":"./dist/typings/*.d.ts","import":"./dist/*.mjs","module":"./dist/*.mjs","require":"./dist/*.js","default":"./dist/*.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"],"dist/react.mjs":["./dist/typings/react.d.ts"],"dist/vue.mjs":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state-share","micro-frontend","modularization"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.5"},"devDependencies":{"vite":"^4.0.4","zustand-vue":"^1.0.0-beta.5","typescript":"^4.9.3"},"gitHead":"68540b2a2c20d37ca8f5eb48b6ca68ced77abdac","_id":"zustand-pub@1.0.0-beta.4","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"dist":{"shasum":"fdf8dae593f3f284db96b2cc7c4b3004621a8c6a","size":1494,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.4.tgz"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.4_1675258832628_0.10460093160188078"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-01T13:40:32.787Z","publish_time":1675258832787,"_cnpm_publish_time":1675258832787},"1.0.0-beta.3":{"name":"zustand-pub","version":"1.0.0-beta.3","description":"State management for cross-application based on zustand","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && npx tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"types":"./dist/typings/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"},"./react":{"types":"./dist/typings/react.d.ts","import":"./dist/react.mjs","module":"./dist/react.mjs","require":"./dist/react.js","default":"./dist/react.js"},"./vue":{"types":"./dist/typings/vue.d.ts","import":"./dist/vue.mjs","require":"./dist/vue.js","default":"./dist/vue.js"}},"typesVersions":{"*":{"react":["./dist/typings/react.d.ts"],"vue":["./dist/typings/vue.d.ts"]}},"keywords":["zustand","zustand-vue","state-share","micro-frontend","modularization"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.5"},"devDependencies":{"vite":"^4.0.4","zustand-vue":"^1.0.0-beta.5","typescript":"^4.9.3"},"gitHead":"73aac1e8e816b93e35d8f2655f7fd37f8002a146","_id":"zustand-pub@1.0.0-beta.3","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"dist":{"shasum":"492200c9e7d6cc196d406c6291a032b459f6c48d","size":2458,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.3.tgz"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.3_1675250640423_0.7497461814310438"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-01T11:24:00.615Z","publish_time":1675250640615,"_cnpm_publish_time":1675250640615},"1.0.0-beta.2":{"name":"zustand-pub","version":"1.0.0-beta.2","description":"State management for cross-application based on zustand","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"sideEffects":false,"types":"./dist/typings/index.d.ts","module":"./dist/index.mjs","main":"./dist/index.js","exports":{".":{"import":"./dist/index.mjs","types":"./dist/typings/index.d.ts","require":"./dist/index.js"},"./react":{"import":"./dist/react.mjs","types":"./dist/typings/react.d.ts","require":"./dist/react.js"},"./vue":{"import":"./dist/vue.mjs","types":"./dist/typings/vue.d.ts","require":"./dist/vue.js"}},"keywords":["zustand","zustand-vue","state-share","micro-frontend","modularization"],"author":{"name":"AwesomeDevin"},"license":"MIT","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.5"},"devDependencies":{"vite":"^4.0.4","zustand-vue":"^1.0.0-beta.5"},"gitHead":"73aac1e8e816b93e35d8f2655f7fd37f8002a146","_id":"zustand-pub@1.0.0-beta.2","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"dist":{"shasum":"bb95079f55fffad72d154c2f1c4b255a01d975e5","size":2389,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.2.tgz"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.2_1675243580215_0.6621818229638099"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-01T09:26:20.454Z","publish_time":1675243580454,"_cnpm_publish_time":1675243580454},"1.0.0-beta.1":{"name":"zustand-pub","version":"1.0.0-beta.1","description":"State management for cross-application based on zustand","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx vite build && tsc --emitDeclarationOnly"},"repository":{"type":"git","url":"git+https://github.com/AwesomeDevin/zustand-pub.git"},"exports":{"./react":{"types":"./dist/typings/react.d.ts","module":"./dist/react.mjs","default":"./dist/react.js"},"./vue":{"types":"./dist/typings/vue.d.ts","module":"./dist/vue.mjs","default":"./dist/vue.js"}},"keywords":["zustand","micro-frontend","modularization"],"author":{"name":"awesomedevin.deng@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","peerDependencies":{"zustand":">=4.1.4","zustand-vue":">=1.0.0-beta.5"},"devDependencies":{"vite":"^4.0.4"},"dependencies":{"zustand-vue":"^1.0.0-beta.5"},"gitHead":"73aac1e8e816b93e35d8f2655f7fd37f8002a146","_id":"zustand-pub@1.0.0-beta.1","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","_npmUser":{"name":"awesomedevin","email":"awesomedevin.deng@gmail.com"},"dist":{"shasum":"66a55eae3a93c2949a89685d497b3ed8ea733e86","size":3073,"noattachment":false,"key":"/zustand-pub/-/zustand-pub-1.0.0-beta.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/zustand-pub/download/zustand-pub-1.0.0-beta.1.tgz"},"directories":{},"maintainers":[{"name":"awesomedevin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zustand-pub_1.0.0-beta.1_1675233104916_0.40536716919685545"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-01T06:31:45.062Z","publish_time":1675233105062,"_cnpm_publish_time":1675233105062}},"readme":"# zustand-pub\n[![Build Size](https://img.shields.io/bundlephobia/minzip/zustand-pub?label=bundle%20size)](https://bundlephobia.com/result?p=zustand-pub)\n[![Version](https://img.shields.io/npm/v/zustand-pub?style=flat)](https://www.npmjs.com/package/zustand-pub)\n\n`zustand-pub` can provides cross-application and cross-framework(react/vue) `state management and sharing` capabilities for these scenarios, such as `iframe`, `micro-frontend`, `modularization`, `componentization`, `multiple technology stacks exist at the same time`, and `gradual migration of project frameworks`.\n\n## Why do you need zustand-pub ？\n1. Applications/Components can `mutually call/modify state` and `trigger component rendering`, if in iframe, you can discard the hard-to-maintain `postMessage + addeventlistener + action`, if in micro-frontend, you don’t need it anymore `eventCenter + action`, just call `action` directly to modify the state。\n2. `Data Persistence Caching Scheme` based on external state storage, application/component/iframe/micro-frontend,etc. `state can be cached`.\n3. Usually, when we refer to the global `store` in business components, it will lead to the problem that the anthor application cannot be reused, which reduces the reusability of the component. However, based on `zustand-pub`, such problems will no longer exist, reusability and development efficiency exist at the same time.\n4. In the past, the store of `modular management` was reused in different library (applications), the state could not be updated synchronously, but the state of the store based on `zustand-pub` module management could be updated synchronously, which improved the store development process. Feasibility of logic reuse and R&D efficiency.\n5. In some iframe / micro-frontend scenarios, page rendering is slow due to `too many http requests`, based on this solution, `sub-application status pre-request` can be performed to optimize user experience.\n6. Based on [devtools](https://github.com/AwesomeDevin/zustand-pub/blob/main/demo/iframe/main-app/vue-app/src/platformStore.ts), you can `debug/trace stores between multiple applications at the same time`, which can greatly reduce the difficulty of debugging when communicating between applications.\n7. If you are using zustand or zustand-vue, it will be very convenient to use zustand-pub.\n\n\n##### [Official Document](https://awesomedevin.github.io/zustand-vue/en/)   [中文文档](https://awesomedevin.github.io/zustand-vue/docs/introduce/start/zustand-pub)\n\n\n\n\n:::note\n<details open>\n<summary>Iframe.gif</summary>\n\n![](https://raw.githubusercontent.com/AwesomeDevin/zustand-pub/main/public/zustand-pub-iframe.gif)\n</details>\n\n### [Iframe Demo Source](https://github.com/AwesomeDevin/zustand-pub/tree/main/demo/iframe)\n\n<details>\n<summary>Micro-Frontend.gif</summary>\n\n![](https://raw.githubusercontent.com/AwesomeDevin/zustand-pub/main/public/zustand-pub-micro-app.gif)\n</details>\n\n### [Micro-FrontEnd Demo Source](https://github.com/AwesomeDevin/zustand-pub/tree/main/demo/micro-frontend)\n\n:::\n\n## Install\n```shell\nnpm install zustand-pub # or yarn add zustand-pub\n```\n\n\n## Usage\n\n### Step 1： Initialize state isolation container `pubStore` (Scene A)\n```js\nimport PubStore from 'zustand-pub'\n\nconst pubStore = new PubStore('key')\n```\n\n### Step 2： Fill the isolation container `pubStore` with data `platformStore` (Scene A)\n```js\n// vue\nimport create from \"zustand-vue\";\n\n//react\n// import create from \"zustand\";\n\ninterface IState {\n  appInfo: {\n    name: string\n  }\n}\n\ninterface IAction {\n  setAppName: (val: string) => void\n}\n\nconst platformStore = pubStore.defineStore<IState & IAction>('platformStore', (set) => ({\n  appInfo: { name: '' },\n  setAppName(val: string) {\n    set({\n      appInfo: {\n        name: val\n      }\n    })\n  }\n}))\n\nconst usePlatformStore = create(platformStore)\n```\nreturn value `usePlatformStore` is `hook`,in scenario A, you can get the corresponding state through state `selector`\n```js\n// vue3\n<template>\n  <div>{name}</div>\n</template>\n\n<script>\nconst name = usePlatformStore((state) => state.appInfo.name);\nconst setAppName = usePlatformStore((state) => state.setAppName);\n\nexport default {\n  name: \"AppA\",\n  data(){\n    return {\n      name\n    }\n  },\n  methods:{\n    setAppName\n  }\n}\n</script>\n\n\n// react\n// function AppA() {\n//   const name = usePlatformStore((state) => state.appInfo.name);\n//   const setAppName = usePlatformStore((state) => state.setAppName);\n//   return <div>{name}</div>\n// }\n``` \n\n### Step 3： Get the `platformStore` under the isolated container `pubStore` and bind the Component (Scene B)\n```js\n// vue3\n<template>\n  <div>{name}</div>\n</template>\n\n<script setup lang=\"ts\">\n\ninterface IState {\n  appInfo: {\n    name: string\n  }\n}\n\ninterface IAction {\n  setAppName: (val: string) => void\n}\n\nimport PubStore from \"zustand-pub\";\nimport create from \"zustand-vue\";\n\nconst pubStore = new PubStore('key')\nconst store = pubStore.getStore<IState & IAction>(\"platformStore\");\nconst usePlatformStore = create(store || {});\n\nconst name = usePlatformStore((state) => state.appInfo.name);\nconst setAppName = usePlatformStore((state) => state.setAppName);\n\n</script>\n\n// react\n// import PubStore from \"zustand-pub\";\n// import create from \"zustand\";\n\n// const pubStore = new PubStore('key')\n// const store = pubStore.getStore<IState & IAction>(\"platformStore\");\n// const usePlatformStore = create(store || {});\n\n// function AppB() {\n//  const name = usePlatformStore((state) => state.appInfo.name);\n//  const setAppName = usePlatformStore((state) => state.setAppName);\n//  return <div>{name}</div>\n// }\n```\n:::info\n [The Usage of React to bind Component](/docs/introduce/start/zustand#step-3-store-binds-the-component-and-its-done) \n    \n [The Usage of Vue to bind Component](/docs/introduce/start/zustand-vue#step-3-store-binds-the-component-and-its-done)\n:::\n\n## API\n\n### PubStore(str) \nUsed to create state isolation containers, the data `key` inside different isolation containers can have the same name and do not affect each other\n\n:::info\n In the same application, `key` is unchanged and the `pubStore` is returned unchanged\n:::\n\n```js\nconst pubStore = new PubStore() \n```\n\n### defineStore(key,fn)\nUsed to fill data into isolated containers\n\n:::info\n In the same application, `key` is unchanged and the defined `store` will be merged in the order of loading\n\n that is `defineStore(key,()=>({a:1,c:1})) defineStore(key,()=>({b:2,c:2}))` works like `defineStore(key,()=>({a:1,b:2,c:1}))`\n:::\n\nParameter | Desc | Type \n--- | --- | --- \nkey | data unique identifier | string\nfn | callback | (set, get) => Object\n\n\n```js\ninterface IStore {\n  ...\n}\n\n// usePlatformStore is `hook`, and the corresponding state can be obtained through state `selector`\nconst usePlatformStore = pubStore.defineStore<IStore>('platformStore', (set, get) => ({}))\n```\n\n\n### getStore(key)\n\nUsed to fetch data from isolated containers\n\nParameter | Desc | Type \n--- | --- | --- \nkey | data unique identifier | string\n\n```js\nconst platformStore = pubStore.getStore(\"platformStore\");\n```\nReturn value `platformStore` can be used to create `hook`\n```js\nimport create from \"zustand\";\n\n//vue\n// import create from \"zustand-vue\";\n\nconst usePlatformStore = create(platformStore || {});\n```\n\n## Stargazers \n[![Stargazers repo roster for @AwesomeDevin/zustand-pub](https://reporoster.com/stars/AwesomeDevin/zustand-pub)](https://github.com/AwesomeDevin/zustand-pub/stargazers)\n\n\n## Forkers \n[![Forkers repo roster for @AwesomeDevin/zustand-pub](https://reporoster.com/forks/AwesomeDevin/zustand-pub)](https://github.com/AwesomeDevin/zustand-pub/network/members)\n\n\n\n\n","_attachments":{},"homepage":"https://github.com/AwesomeDevin/zustand-pub#readme","bugs":{"url":"https://github.com/AwesomeDevin/zustand-pub/issues"},"license":"MIT"}