{"_id":"xsta","_rev":"8-3fcc3f9259c6cf8ed5afc2bbfe5a193e","name":"xsta","dist-tags":{"latest":"3.0.1"},"versions":{"1.0.0":{"name":"xsta","version":"1.0.0","keywords":["react","hook","state","store","manager","management"],"author":{"url":"https://github.com/idootop","name":"Del Wang","email":"hello@xbox.work"},"license":"MIT","_id":"xsta@1.0.0","maintainers":[{"name":"del.wang","email":"me@xbox.work"}],"homepage":"https://github.com/idootop/xsta","bugs":{"url":"https://github.com/idootop/xsta/issues"},"dist":{"shasum":"2560d438f2c60e9fa8c1a7c5ef7444db1df978ad","tarball":"https://registry.npmjs.org/xsta/-/xsta-1.0.0.tgz","fileCount":6,"integrity":"sha512-+eRxOvv7NPKGbODT3l18GsADfkhW+hY7nZo9Bj1dBscZUHeqw8X3SeYE5YBQZ2OSU615B1Q26hIh1r3/yqCJJA==","signatures":[{"sig":"MEQCIFcC6t023OkSMmDEvFG40M5kl1GA687dN5zwTj+5p7XyAiAHjUd9iLUoTUnFm2uxBORjvlvd3ebErVkR0s0TAPOFyA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19333},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"01a090859a0cffaf3065e4ced2d47f5fe2d4fed1","scripts":{"build":"tsc --module CommonJS && cd dist && mv \"index.js\" \"index.cjs\" && cd ../ && tsc --module esnext","prepublish":"npm run build"},"_npmUser":{"name":"del.wang","email":"me@xbox.work"},"repository":{"url":"git+https://github.com/idootop/xsta.git","type":"git"},"_npmVersion":"10.2.3","description":"Refine your React state management experience with XSta: Turn any local state global in just a second.","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","dependencies":{"external-shallow-equal":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","typescript":"^5.2.2","@types/react":"^18.2.33"},"peerDependencies":{"react":">=16.8","@types/react":">=16.8"},"peerDependenciesMeta":{"react":{"optional":true},"@types/react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xsta_1.0.0_1699790109626_0.6127977734227537","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"xsta","version":"1.0.1","keywords":["react","hook","state","store","manager","management"],"author":{"url":"https://github.com/idootop","name":"Del Wang","email":"hello@xbox.work"},"license":"MIT","_id":"xsta@1.0.1","maintainers":[{"name":"del.wang","email":"me@xbox.work"}],"homepage":"https://github.com/idootop/xsta","bugs":{"url":"https://github.com/idootop/xsta/issues"},"dist":{"shasum":"ab002a87434b07f1a6dfd81781be5afebc7e0695","tarball":"https://registry.npmjs.org/xsta/-/xsta-1.0.1.tgz","fileCount":6,"integrity":"sha512-49rC485tvxFTNArj+Z9SIf360cFIbcE89cQ0iMbRUJFI1Ae50U56w1zispQy5sk9LDvujO+tda7Y57Qc5/AS/A==","signatures":[{"sig":"MEUCIQDdMPi01qYO4Ql6VUycdD0gDd7JkrRVRDwWJqdkRbjL1QIgYm5viHxmbdttpSXSOLQKs7TNUeN48Lzw/C2xUkrDCGI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19259},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"80ea9e766c14672bbef23728f7a1c9c28058149e","scripts":{"build":"tsc --module CommonJS && cd dist && mv \"index.js\" \"index.cjs\" && cd ../ && tsc --module esnext","prepublish":"npm run build"},"_npmUser":{"name":"del.wang","email":"me@xbox.work"},"repository":{"url":"git+https://github.com/idootop/xsta.git","type":"git"},"_npmVersion":"10.2.3","description":"Refine your React state management experience with XSta: Turn any local state global in just a second.","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","dependencies":{"external-shallow-equal":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","typescript":"^5.2.2","@types/react":"^18.2.33"},"peerDependencies":{"react":">=16.8","@types/react":">=16.8"},"peerDependenciesMeta":{"react":{"optional":true},"@types/react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xsta_1.0.1_1699883204532_0.8636322340765512","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"xsta","version":"1.0.2","keywords":["react","hook","state","store","manager","management"],"author":{"url":"https://github.com/idootop","name":"Del Wang","email":"hello@xbox.work"},"license":"MIT","_id":"xsta@1.0.2","maintainers":[{"name":"del.wang","email":"me@xbox.work"}],"homepage":"https://github.com/idootop/xsta","bugs":{"url":"https://github.com/idootop/xsta/issues"},"dist":{"shasum":"0e765fdb6288877e4308ff65ee2d9234979fb522","tarball":"https://registry.npmjs.org/xsta/-/xsta-1.0.2.tgz","fileCount":6,"integrity":"sha512-0LNAIXinjZQVBxefTh0qT+cYMKcmp7sG8smuvlI/g9trM3wkmoD5BUwiUCdlZK6i/muja4c0RDjUxpKwcUzNYQ==","signatures":[{"sig":"MEUCIDI4k3e0SsBWFEoeHxA2eFY9IpGjSORI5eO9tu+L2PATAiEA6iaKxSOQIHJZ9eEX6FtX0i+nLEXFGGh/I+dLGtzzORA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19437},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"96597034aa745c5b98ca558a2815004a653b29c4","scripts":{"build":"tsc --module CommonJS && cd dist && mv \"index.js\" \"index.cjs\" && cd ../ && tsc --module esnext","prepublish":"npm run build"},"_npmUser":{"name":"del.wang","email":"me@xbox.work"},"repository":{"url":"git+https://github.com/idootop/xsta.git","type":"git"},"_npmVersion":"10.2.3","description":"Refine your React state management experience with XSta: Turn any local state global in just a second.","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","dependencies":{"external-shallow-equal":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","typescript":"^5.2.2","@types/react":"^18.2.33"},"peerDependencies":{"react":">=16.8","@types/react":">=16.8"},"peerDependenciesMeta":{"react":{"optional":true},"@types/react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xsta_1.0.2_1700318363954_0.4925461285611028","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"xsta","version":"2.0.0","keywords":["tiny","react","state","management","zustand","typescript"],"author":{"url":"https://github.com/idootop","name":"Del Wang","email":"hello@xbox.work"},"license":"MIT","_id":"xsta@2.0.0","maintainers":[{"name":"del.wang","email":"me@xbox.work"}],"homepage":"https://github.com/idootop/xsta","bugs":{"url":"https://github.com/idootop/xsta/issues"},"dist":{"shasum":"2805d7043a3cc0020df09aa6c221e1ae869906ed","tarball":"https://registry.npmjs.org/xsta/-/xsta-2.0.0.tgz","fileCount":7,"integrity":"sha512-8hEY/DP7Z/EKaIJxiI7I59r3JcrgDN4Svzcni09TGRMHmTHcjGsJFooNaEN4SmZCl8iu6bnAEhU3jdQk5Q+GoQ==","signatures":[{"sig":"MEYCIQDOlbfExR5eMvn3613555TcPXtsnXEQGY5HpG7R9a/rygIhAOGajVNNIjRstXn3kR9RlPEgKbjC9pFg2PMY7g72/uph","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38150},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"4be132f7cc42f3c4f2a56b2b2cfceb2d25f6324b","scripts":{"build":"tsc --module CommonJS && cd dist && mv \"index.js\" \"index.cjs\" && cd ../ && tsc --module esnext","prepublish":"npm run build"},"_npmUser":{"name":"del.wang","email":"me@xbox.work"},"repository":{"url":"git+https://github.com/idootop/xsta.git","type":"git"},"_npmVersion":"10.2.4","description":"An ultra-lightweight (<200 lines) React state management solution with zero learning curve and migration costs.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"external-shallow-equal":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","typescript":"^5.2.2","@types/react":"^18.2.33"},"peerDependencies":{"react":">=16.8","@types/react":">=16.8"},"peerDependenciesMeta":{"react":{"optional":true},"@types/react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xsta_2.0.0_1713704455205_0.06968278827707741","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"xsta","version":"2.1.0","keywords":["tiny","react","state","management","zustand","typescript"],"author":{"url":"https://github.com/idootop","name":"Del Wang","email":"hello@xbox.work"},"license":"MIT","_id":"xsta@2.1.0","maintainers":[{"name":"del.wang","email":"me@xbox.work"}],"homepage":"https://github.com/idootop/xsta","bugs":{"url":"https://github.com/idootop/xsta/issues"},"dist":{"shasum":"bb2b4b6479f645343b0187b58c4a329f321d2caf","tarball":"https://registry.npmjs.org/xsta/-/xsta-2.1.0.tgz","fileCount":7,"integrity":"sha512-gSJ1M+ApVIDgykEIT3AzseV7e1T7bAG9f/fNLs0sq6sRY8joVu+py7oE3Cg9NFbCTTqVK0Wo6JIiRNamSTXx3w==","signatures":[{"sig":"MEQCIAtsSY16uTl+PDrGqN9cCOBZPqQrJYB7CxX5XrcB96/tAiAP0M4sZw/AR4a5Orj2l7t4y6RZoZzkWVOyYUI/adgRDA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30727},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"0b95dd8b2a45511ecfa1022ca74f154522b47e76","scripts":{"build":"tsc --module CommonJS && cd dist && mv \"index.js\" \"index.cjs\" && cd ../ && tsc --module esnext","prepublish":"npm run build"},"_npmUser":{"name":"del.wang","email":"me@xbox.work"},"repository":{"url":"git+https://github.com/idootop/xsta.git","type":"git"},"_npmVersion":"10.2.4","description":"An ultra-lightweight (<200 lines) React state management solution with zero learning curve and migration costs.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"external-shallow-equal":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","typescript":"^5.2.2","@types/react":"^18.2.33"},"peerDependencies":{"react":">=16.8","@types/react":">=16.8"},"peerDependenciesMeta":{"react":{"optional":true},"@types/react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/xsta_2.1.0_1716007301907_0.34085652525713095","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"xsta","version":"2.2.0","keywords":["tiny","react","state","management","zustand","typescript"],"author":{"url":"https://github.com/idootop","name":"Del Wang","email":"hello@xbox.work"},"license":"MIT","_id":"xsta@2.2.0","maintainers":[{"name":"del.wang","email":"me@xbox.work"}],"homepage":"https://github.com/idootop/xsta","bugs":{"url":"https://github.com/idootop/xsta/issues"},"dist":{"shasum":"afa275eb35890e7684b85a28786d8a4312eafec5","tarball":"https://registry.npmjs.org/xsta/-/xsta-2.2.0.tgz","fileCount":7,"integrity":"sha512-yujdN4G9XZnkfJfNwPph/G7RjUVehYRs0Y7LMCqsVFGv8lXXBo6+hxEihjumnEORyLlUiRidPihSitITr78XqA==","signatures":[{"sig":"MEQCIGumG9qxlCJN2NozLU32wAhH24iRUqFxHkqeAHx/qU/uAiAq0A2M8YQyhws6RsMimCba2+fMMK6/JnQJSr3Aa5pSsw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30219},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"eeef333e5adb930f9d0c541690e323feb3cc972b","scripts":{"build":"tsc --module CommonJS --moduleResolution node && cd dist && mv \"index.js\" \"index.cjs\" && cd ../ && tsc --module esnext --moduleResolution bundler","prepublish":"npm run build"},"_npmUser":{"name":"del.wang","email":"me@xbox.work"},"repository":{"url":"git+https://github.com/idootop/xsta.git","type":"git"},"_npmVersion":"10.9.2","description":"An ultra-lightweight (<200 lines) React state management solution with zero learning curve and migration costs.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"external-shallow-equal":"^1.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.0.0","devDependencies":{"typescript":"^5"},"peerDependencies":{"react":">=16.8","@types/react":">=16.8"},"_npmOperationalInternal":{"tmp":"tmp/xsta_2.2.0_1750088393892_0.26910362111133446","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"xsta","version":"3.0.0","keywords":["tiny","react","state","management","zenbox","zustand"],"author":{"url":"https://github.com/idootop","name":"Del Wang","email":"hello@xbox.work"},"license":"MIT","_id":"xsta@3.0.0","maintainers":[{"name":"del.wang","email":"me@xbox.work"}],"homepage":"https://github.com/idootop/xsta","bugs":{"url":"https://github.com/idootop/xsta/issues"},"dist":{"shasum":"0072027782ccf388235d40ead44bf516c7d54837","tarball":"https://registry.npmjs.org/xsta/-/xsta-3.0.0.tgz","fileCount":13,"integrity":"sha512-Ol+/Apijv4SQjzfDzvZeEPVoHF2vubAi/MGDK4yI9ghgs5jKoGNji4qZDSPYPYN9y++ARPNC60fWcWRdD0LdTg==","signatures":[{"sig":"MEYCIQDEO2sk4upSwuRZAfzRs8BYPNmquJfcq1VqFAsrrtvvpAIhAIuDHVsgdM6zk1aV/EmpOUPt6+8TLwrxfeg5GuBb6zMs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20294},"main":"dist/index.cjs","type":"module","_from":"file:xsta-3.0.0.tgz","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"_npmUser":{"name":"del.wang","email":"me@xbox.work"},"_resolved":"/private/var/folders/fc/90899jbs7q17j_x83901y7n00000gn/T/8c5479e167781cf76565efd3f0f60b79/xsta-3.0.0.tgz","_integrity":"sha512-Ol+/Apijv4SQjzfDzvZeEPVoHF2vubAi/MGDK4yI9ghgs5jKoGNji4qZDSPYPYN9y++ARPNC60fWcWRdD0LdTg==","repository":{"url":"git+https://github.com/idootop/xsta.git","type":"git"},"_npmVersion":"10.9.2","description":"An ultra-lightweight (< 200 lines) React state management library.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"@del-wang/equals":"^1.2.0"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=16.8"},"_npmOperationalInternal":{"tmp":"tmp/xsta_3.0.0_1760187668801_0.9194497554103349","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"xsta","version":"3.0.1","type":"module","license":"MIT","description":"An ultra-lightweight (< 200 lines) React state management library.","keywords":["tiny","react","state","management","zenbox","zustand"],"homepage":"https://github.com/idootop/xsta","bugs":{"url":"https://github.com/idootop/xsta/issues"},"repository":{"type":"git","url":"git+https://github.com/idootop/xsta.git"},"author":{"name":"Del Wang","email":"hello@xbox.work","url":"https://github.com/idootop"},"sideEffects":false,"main":"dist/index.cjs","module":"dist/index.js","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"peerDependencies":{"react":">=16.8"},"dependencies":{"@del-wang/equals":"^1.2.0"},"_id":"xsta@3.0.1","_integrity":"sha512-vZfOkUHFJZrSNBMXQq1/ws8lk8W7sH8RxtYluiKQGmiME4Yb4zIA0VhCuiyC+q2wTzmiRpji54KFZci9e//2JA==","_resolved":"/private/var/folders/fc/90899jbs7q17j_x83901y7n00000gn/T/0371d3bbbaae896a709c2a65b8b4134d/xsta-3.0.1.tgz","_from":"file:xsta-3.0.1.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-vZfOkUHFJZrSNBMXQq1/ws8lk8W7sH8RxtYluiKQGmiME4Yb4zIA0VhCuiyC+q2wTzmiRpji54KFZci9e//2JA==","shasum":"fded1d875e198a7019c7b74c0d35ebf0e230e9b8","tarball":"https://registry.npmjs.org/xsta/-/xsta-3.0.1.tgz","fileCount":13,"unpackedSize":20260,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID/KmMFm3TEhQWSe5DJZq/zk9iQK8tUxUCBj8n9S98D/AiEAlGIV57cqN0kZLYlQSY5rxUYkqT3NtMLftgHQBQeq+7c="}]},"_npmUser":{"name":"del.wang","email":"me@xbox.work"},"directories":{},"maintainers":[{"name":"del.wang","email":"me@xbox.work"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/xsta_3.0.1_1760190629615_0.6776225031736673"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-12T11:55:09.625Z","modified":"2025-10-11T13:50:30.039Z","1.0.0":"2023-11-12T11:55:09.810Z","1.0.1":"2023-11-13T13:46:44.752Z","1.0.2":"2023-11-18T14:39:24.149Z","2.0.0":"2024-04-21T13:00:55.399Z","2.1.0":"2024-05-18T04:41:42.101Z","2.2.0":"2025-06-16T15:39:54.103Z","3.0.0":"2025-10-11T13:01:09.019Z","3.0.1":"2025-10-11T13:50:29.848Z"},"bugs":{"url":"https://github.com/idootop/xsta/issues"},"author":{"name":"Del Wang","email":"hello@xbox.work","url":"https://github.com/idootop"},"license":"MIT","homepage":"https://github.com/idootop/xsta","keywords":["tiny","react","state","management","zenbox","zustand"],"repository":{"type":"git","url":"git+https://github.com/idootop/xsta.git"},"description":"An ultra-lightweight (< 200 lines) React state management library.","maintainers":[{"name":"del.wang","email":"me@xbox.work"}],"readme":"<div align=\"center\">\n\n<h1 align=\"center\">⚡️ XSta</h1>\n<p align=\"center\">An <strong>ultra-lightweight</strong> (< 200 lines) React state management library.</p>\n\n[![中文文档](https://img.shields.io/badge/-中文文档-111111?logo=readdotcv)](https://github.com/idootop/xsta/blob/main/README.cn.md) [![NPM Version](https://badgen.net/npm/v/xsta)](https://www.npmjs.com/package/xsta) [![Minizipped Size](https://img.shields.io/bundlephobia/minzip/xsta)](https://www.npmjs.com/package/xsta) [![Downloads](https://img.shields.io/npm/dm/xsta.svg)](https://www.npmjs.com/package/xsta) [![License](https://img.shields.io/github/license/idootop/xsta)](https://github.com/idootop/xsta/blob/main/LICENSE)\n\n![XSta Logo](https://cdn.jsdelivr.net/gh/idootop/xsta@main/assets/cover.webp)\n\n</div>\n\n## Installation\n\n👉 Visit [docs/en/index.md](https://github.com/idootop/xsta/blob/main/docs/en/index.md) to view the full documentation.\n\n```bash\nnpm install xsta\n```\n\n## Community & Support\n\n- 📚 **Documentation**: [docs/en/index.md](https://github.com/idootop/xsta/blob/main/docs/en/index.md)\n- 🐛 **Issues**: [GitHub Issues](https://github.com/idootop/xsta/issues)\n- 💬 **Discussions**: [GitHub Discussions](https://github.com/idootop/xsta/discussions)\n\n## License\n\nMIT License © 2024-PRESENT [Del Wang](https://github.com/idootop)\n","readmeFilename":"README.md"}