{"_id":"use-one","_rev":"51-90965d3109c3b4474b5e04a15065e08a","name":"use-one","dist-tags":{"beta":"0.10.1-beta.0","latest":"2.0.0-alpha.2"},"versions":{"0.1.0":{"name":"use-one","version":"0.1.0","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.1.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"96da1288314ea162fa29192b6491ac73fc45b7d1","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.1.0.tgz","fileCount":12,"integrity":"sha512-AnQhwii0q+t/Q6KDSokIYOrAVFBEXJ1/6yxsI89G4lhHMc/TrtBJYpD6vkrjpOVnmde7odLHz95mtJcKCmUE+g==","signatures":[{"sig":"MEYCIQDm7X6xb+sblC0x1Gr2q+IisK3posuI6YOR4IpQGh9kPQIhAN6tWmDOJq3VelAnt1Glv1EwPHxGJIa6yC7rkuDrv8XU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15742,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPoXJCRA9TVsSAnZWagAAXWEQAI+DX8s4TjO7KlmDUP5Z\nw7L/BgJlB1J6X/DHler3sEF82/nV3NfoX25h2Mx2uaKdpLvgz2KucrdzUva/\n4S9cZPnom/8rfH5tty/ArXBvRmrYHrfpfwk8ZHsVb6EyQUCOX9Y6VkIeD8e8\nJ8Pq4jrc0rg2w2bHK89tvWQ6pLALf0073QwYlA7hzVqygH2SyjwQPbKqyOQk\n4EOo/aY+Vupcw9b6whzGF0MswhIE1xla36vg/pzry1ze9PFwpBMPkfN7cd61\n1TtpJz46C7b5Uxm9sKpUMedvvlp95Sf0zHBqaveBZeDHUYUcOb69jFipzB92\nR9VotDH1SvYuTXYpKiQVKD9CoGD/p+qZZgPPzxa4YPjxq28xKtHqDzmstmuf\nbmLFMc6Ix1MRklAfXLe38I9N5JYbc+UEqy/bWN3QbTQA+bFfQJoKXRGfHTwO\nvV52J/giaaYt411xNh0netAU1ZRaDAzxxkuFMNwJJTCZzEE7zNacVYkj35mo\nK9ThqVFYLc3Z3fGwgyn2aomxdZ/eh6T4PJsqWkp/Z1SojaOTql+FCMaDDCf2\nvojHKfGZMbeI1kKk/KQ7maBFSKh6tgjB2fhPFHUFRCCh85DX0ZVavCJXIKG/\nChbnrCtXEclnuuWNDBXL9zZbpTv+gHi43GyBzbeEMAZp7vVYOr/nPNu7/AB1\nSKc5\r\n=/+KG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"e0313f6a50c223f45473a4dad50536f355033656","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app.","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.1.0_1597933000497_0.01434483034316325","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"use-one","version":"0.2.0","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.2.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"4bbd9abf8083b5e53cf82b710e93cc597d11a7b3","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.2.0.tgz","fileCount":16,"integrity":"sha512-AxuQD/IdCwowAMC0TvAZCNyKB8O6a6QOg704N+f1te5BP++blv6q12VyJarv2lqjbmP+dr/VoerCUR0uFyowgw==","signatures":[{"sig":"MEUCIQC/rwzjnaGnLvd6g3j9lHMDShGCXsN0nl7vyc9blYzk+AIgbzjP6ZuJgf3+IvXt3lYr1iwDTAdp66qwxg7wdoqQysw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPrRaCRA9TVsSAnZWagAAhgMP/3KlHXY7R0weCcNFUhm7\nvxMHv719dSiJpfV4u/0IcwBwUw0fKPCYnb6vM3zSq0khE41IGNW1JMsYgfq8\n3q22pgY1ftJr6Ync0j3HzhlFpRpb7rkKV5l22eyp0H5z5pPKd39+t743JkwJ\nNObXfS6OqnHl2Yz/wUqt9+dmIxXD9IT/FTbOWy05btfIPtuP8o8XFfleJ7F5\nNJV8ywnaL3IMnCsJt3V11YmGQhMWxHEQG/02CiDmQZ3s1mJSbGUvRLZSaMfh\n77T1l4+uviOSCP4Rn2XEsNTKXKPlkPKklUQq4doUS7d6RKHv4FeAga8STa5n\n3Z0c6xwFwY87S79z/l4l5nE5tTUFQ5BCWw2qoGa1iVUABsFz/CskMcwbCgGA\n3e/OKavIH8BM8SCKvzAwVxaqphS6rendCHpLEZMP434O9/FIyAGGJzXdlDHX\nCviVqlkK+0qGVY+3BW5vlPBhnldSUO04J+gV+crZQIwpoVwbZu3WrvKLh5Ah\nWARXibufM4a8cnFhEQ2kENUdgp/CJYpk/kmVOVuly7uYUovWPbHS/fCc4dBy\nAxF7jCuRgHbR38xqq80uHLpYF74NPwtXkXa6OIfFjakeXI7Rb1R7dX/HFl1g\nh26quFD3rtU78mIRXvSqNXxZqhvE6XN3GS4zqHzFqHB7NfqnSSYpIgifRuJS\nY9jI\r\n=YRWt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"e0313f6a50c223f45473a4dad50536f355033656","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app.","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.2.0_1597944922108_0.9427102614641079","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"use-one","version":"0.3.0","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.3.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"ddfc5c9db833b83a92383ef4b4e5f6528346c12b","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.3.0.tgz","fileCount":16,"integrity":"sha512-a73rqlOFr0WvBoI412IlXyTAG7xgXeolmKUxlXIs921vwR32isrX1tolNcq+Y5qgLkbLkb2FCjvO7gJf+jHRbQ==","signatures":[{"sig":"MEQCIAHbHYfqVsNWZG0KlKts4E2BYWOVIJ/C8wowMpuQayxhAiBhqJ7x/i+6mQF0q9TRkgfZRUjpvJmvdFcTsJxX7ePxHA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPrYnCRA9TVsSAnZWagAAhb8P+wTZJGwgykbaVrUzeDfb\nlLzVR1V5czs9kZye8pYr+Nf3AovWSOdVP53cFe20u8F6qB98BiRoqV3zBbny\neXAELSutWhcQiDdsEqZTPvz0398R33xQNp4TO4a8R/xxGK2VeaAgpnPafSTZ\nVL9CIYFDS27cX0WCvjTF/pdN9qfvNFGMzHsdyi4TQOqv88ok4rxIqilaigKR\nTXx2N1EOq9oKkhqD2Q861MwE6bizhXyLiYircfGMJ1JhPTdS9uiyev4VDs3k\ne9WDwXmyZFoy3/BcIa49NFP5CwMBdEvm9SBd7Qg2R9/VWjJx2Cn7zPYMuBGV\nCbeQrI2S5bd2LFBmih1MQGSOVi5Nf2L4C9U7sxcU8cLZeP/VW1lazb0amngk\n/s6px9NXLZTgTzcPDkzv1FHf0mqkM9+BVM+5xPOFFvYAY2k1MjPQPCJ58ROI\n9ek6e3vRBGPQv6wQ3/EFrJe0g/+kxZkoTy/RLzdopbXapMTAa+Gmcx6zwRxH\nugH9PR3w61ltoimbytQjQRROdGDwZo/O3E9GleLDLcRCApDHSQSNfEpkdT3g\n93+mbo8Z8N/Y9wz832dqw7vRIZB4tGtC5vCtg6OjrsVMFSfp76ABtYEzSay+\npy179/RZPnxozqlMaeFMiBQa1q3JqGi8r3llBY8qAYmYN6BrPci/IBh1AqcM\nFEps\r\n=REtc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"b7ed1f0bbd0c0f33cdf6ab9581a0e12fa7dacd6f","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app.","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.3.0_1597945383015_0.6971138248896891","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"use-one","version":"0.3.1","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.3.1","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"0aa19fcedd72da54b1bbdc7106a3e30af4a91b28","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.3.1.tgz","fileCount":16,"integrity":"sha512-0I/cemeNgNpBv4Hge6gGi+Io8kX7bX2+TJiGcU7pjnHdujxXt7BzuKjNgAMaf7T5EXe16c032QsNYDNI/uZE6w==","signatures":[{"sig":"MEQCIGezVak8FtFaEnM30EhkIdI0BXH7ecYzwsuH1R1f9yGMAiBTXiAGyY5f7d/5shk/NU3evb4v6w1XtnqlLXAjSsbCPA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25301,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfP7+KCRA9TVsSAnZWagAAyjEP+QDC8E/WDShTGFUfhBKQ\ni/ztbxq2ekLd0cA2TSQ2Uosy/33JaxE6Ic9ivqAyWzgZV+t+LDgqql+lCa5L\nTLH0Z4YK5ITsSIoRykXNurqSAOZNHU3uoqSUkOG/HgR3L1q/x2zCxoWG/GWS\ndAjNTdFdgXDIUqBuqp3yrQ3CFlPoZADcrpk5VaAkMsGOKwEyCufdi0rrhY6D\nMiEFrsFdHOCiejANQ9w/1k2Yxt3o/YNz/XIQasJ8xQqlulG/al1U4harWwNg\nNWZw6TSFZnPoC0M8Ow0ipQkodk4cTVJZ2XdIA0Rm02KU4jezuptq1jQwarF1\nfMhrMZbZ6cdzFQ0GbDy9lvc4ekRSyuOiYcPbObsUntDtEZPgznEcezQRf5OC\nESq6xVzpRKaFyCSsNYpUxWsmgqvzVcBMC7QOklcJMTJLmRArBj/p3PRMm+Zw\nAPLuMonzv4h4LaLwpx/i31XSvmA1eO3VzkxvOdryRKi7eA9wfwAqyTRuuE5/\nOFW/g/hJaC1FdWkuS/v8Ydhry80pv6+dpKLmztrGmlrql6qmxnnWICBZmHjO\nZnC4z3+ZaHNQAK/BDbNLHHC3kgxaeFo8sxdV+nVok1x1vjqeqLnZwQmC7zsK\nO2zQeNxbNekVjZdlUqS9gn/HFm9wTQAkpOoGenSmUULkF5TrroZQm29McPPz\ncy8b\r\n=ybx7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"b7f54e3880b8e803af82968efb029f4d6df1ff76","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app.","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.3.1_1598013322261_0.36395277685181915","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"use-one","version":"0.4.0","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.4.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"f2f431402486af0ad6857bdc7bb4d8a60ce0bf8a","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.4.0.tgz","fileCount":16,"integrity":"sha512-pyWnJkFMxhLsbXFT/k9r5UfdQGhvjI6hB1egl5uZ8ZDK+0vCO9fsLWKnk4IyGZMPAx7h7jO2vzpWdtvUeEf49Q==","signatures":[{"sig":"MEUCIA6epgbYGevOcgAVMFfWDtz6F0r1hPcThd/OkS3mPpiOAiEAlnwRVpyRJCIH2Rck04b/ksrnLDStFKjZYQrp7ENw/1w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26809,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQKNCCRA9TVsSAnZWagAA6NoP/R2NEt4s2HdphRuY58Uc\nuDl0gdiqJaYiBmM39df5aYOZLqjFPwKeg3owuw5rhWrT0z489/R3i0THN2Ny\nNh0zJH2SKOGgvuGR0Q6e31ssW5Ic1mOUUL1mJ1o78+/dIK1ArEQ/vdqSnS1F\nBdJOU0Qjyxjw7SCLTPMJjIFxVMPijGwSpOPsUo1lPM80faa138Z/k3Olesoh\nKiWBeZQCl61Hss33rOUGtj1+EHDM+nvLXSHdFV2zYaMS/QrpEyHOghZBe++P\nYaxQt6RrExGuC808My1JmooNNy9wkqSa6yYFaFnnANYFxVj+fw4kYSHVOJLX\nQ0GZJ2xntISNW8Zt3sBKVJZMr2XPWCs+J4saNjx8I2GlUzUdOofoRB/OLPuI\nUCYuNtIODwJrxWzrQxw9jmcX4COeagSCniUsvAU6y+16e6/XbdA0SNCkA3jR\nh8u5qtb4wEEsBi52w/J7zIzGdUnzXqYjyIs6SRCyG7nuRkFRbQ+MsdopeDYl\n7nysvVeQ2R7pXorAk+FDFBPTRJy7XqcCLGFDvr6c2syY0Q6C65DY2E1Xv6Sk\nutKL6i6IrKzIJNv7vRgcodQm0xSzCgYzphpf5dLp5uuakW6iSQK8OPhUR3PV\nF3vXyx0XMY0J+lZJcgfzSDzAgZsv5uHNaWTOb0+O7aM8zz1/FY+EUHxmk4fs\nhwNW\r\n=s32v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"a020e02d114213d757732928e5072433720a1262","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.4.0_1598071618091_0.6449997092286854","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"use-one","version":"0.5.0","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.5.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"61d54cc291d15df9a99e79543cd39193e1be94e0","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.5.0.tgz","fileCount":16,"integrity":"sha512-sJ9wz40sFovrSfSZf2p6z9yzBkMx8X7SpUYMTbjHFuzvpCuVmcnam8UV8YV0sjmguJBjuQ8YrplBcYpQEOpSbg==","signatures":[{"sig":"MEUCIQC8u1+hstxRdz0ucAcfkyYrBgSlyji3gdFEWa5iXZPUZAIgfqmw5WohjPIo8QXXWjUic93l7RZwLf1b7P2kKBCPYRw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQKXuCRA9TVsSAnZWagAAoogP/0liGPfPd+p+J07+WwUC\nIC1RwxmwdhovwfC65vM9mvhtQfpchky1FY2o42xsVXM7fCAQgAPwC5iAeDpk\n5fda+D3HbC2q5+ai8qHVp40RgnDtDjy9KD7PAErH1KhYh/+TyoyjeXEJapgB\nP1vwfzqQGPLunbRBfaFlLsobb9xaX74THO19gmKsvLyDcPzqq5AWOb7UDdQS\nQxtjGzSIwHBP24MPk/4Clx53wN0p7KiUkeKKGz6Wml3Br/HK5/0UU4CwrftG\nNKsmaQHdT/1FJHCXkGNIAvLGRu2V8i9ssY04z1o41xzZM2TMF+gFcAXf/KZW\nuwqr7rAH+DPl//CsGczd2AAmJAbXX83gNZHVQlz3eU85qUMI1LlpsaoB2AHH\naeusP/eLgx9tWTV1M7esZbGVM6YTq4KdDFxteg3sZJfloMDxlaHMOcoPzCdD\ng4DZuFEszFqzNgCElCMr4F8+iXzlMuWJ63SCDP3GVpMdVnejyfSolZlG8YGM\nPzxvStfqDCEoO3LgGtrnPNNHzbEAAQVwyQXWjz4xy7vdLqzV1A9qnp4tI6wh\nPCePOtnDxlHVy+SxFMcCPz+UTkqOLDrBqxvZgOW0EYah2dVmc3OSEbCb04M6\npGsYbOiN3l1sYaUct3WJ41ltGvEPWPHrLp1/M5ZHGQ5B0HEZAxUQT1+1dVmh\nqm+s\r\n=5ABt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"df1e6e76808d4a97656abe257b370569449d1e0b","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.5.0_1598072302417_0.3391786836451154","host":"s3://npm-registry-packages"}},"0.6.0":{"name":"use-one","version":"0.6.0","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.6.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"8321344651841a8d1ee55f4444c914179570f753","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.6.0.tgz","fileCount":16,"integrity":"sha512-B9DMr2c+QQ+OgAgIrjduH+6kch28oVtWCXv9LhvjerfOldpcQ7GGvmAESY1BdVZW/Vtq0NWJx/thM3FXxZ43hA==","signatures":[{"sig":"MEUCIBH4ouEBKxvD4fHN0DIeei1Jvyn0HD3bIET1ZU/3fMwUAiEAy9IEEQpcthUJrCQ3tBL2395oGtVK4DTwy91Lx21duiw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQKilCRA9TVsSAnZWagAAiWgP/iffk3+GaPOvo+zgcbMk\nYMqTjd/BSmqcvJP2c5Wk6BIkoXHNB2m62mZygTPicpveyneq3yw7/YY9YZRM\nOyZ/wk6yDP875OSf5+nBoJAr0vbmSx0JwEQdOCDhRPgiemnF0qfnjtiRdZ3O\nUnP7k9neHGoqn3h1Of47XsuzkhJjVgy+c4I8f3XpQLM9HJ3yXGaLdYEpAe31\nwRmJl/Lw7QgN6GChvHKXEDTVlJpKuoj3KvmWurtLAWaTauiL1OOoldM+Zl/2\n+SvMthWKfo2B/Xb0D3ak6dsOf4w6+vEsQ3cuBCChCIKok+LZ7C5Yd1eeSJPe\noIMH23woJzOMqOy4u7Ls+0btnLkz3ziUrccbbaVYq5zqefDqr1iLdkI7Jred\nwVNN1nCzXy39+lHrpOLKoK0JG/j7zqdUCAbr3PQClR0le25nscR9s/5BwHsY\nnTXzhDIfWyGDKtlq1US0meltJHmWsPTu/l2FCXXgfhz+PTQO41aPNmjbrhl4\nvk75AzDv1J7S6exwh4Hov7q8CRBCDYI/ngY4dcC2oFz8ARRTisi2E2VLHR+4\nMBh7qEKjkGsQR5Y2CGNeB0LLxc+kmMfLOXJ9Utio+oGckbtbbt6gWmBNvx3j\nemYA2CUaUdmS1qLtosTcVfrjFoB1F/rudDQMjntIv05OHiahCK0VvLVBHhfa\nZsAF\r\n=XH/j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"1a1b4af7bc6b368a1dfa3a70b41bfedbf45638b0","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.6.0_1598072997039_0.5255810996334469","host":"s3://npm-registry-packages"}},"0.6.1":{"name":"use-one","version":"0.6.1","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.6.1","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"cc9c85ebf4c7021aefb54aadd91bde71e3b74b18","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.6.1.tgz","fileCount":16,"integrity":"sha512-27zfYCry1aQ4IwVnXJwRX6RBBOcEm1DwCJIg4wN4t1wPijS+ggyd7iqn7ybQDBmYzL8paWxQLZqPwQu/NkWVkw==","signatures":[{"sig":"MEUCIQDbve4a8y5zBk49V7uuq+yYB6CcrK4EigVM//QpK9REuQIgVZH0ECQISA1bFfGlHGeKqPLyMh5LSsTIjdjOLgqIqh8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25407,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQK0ACRA9TVsSAnZWagAAZ2oP/iqvS4Zpnzc2NB+NAwCR\nhgJRB0fy7yMP5LCGJdgawEwGn8eW2B6848FxQu13JQQkWopN95DEx+aaqgxu\nG96Z7Dt1Xbmvp0+8VQf3d9cQpMz7G+CIUKporvlUzFkDhzYVxqqgvanG2LMJ\n0qm8YUjRbKOK7v70ld45+4vopiFvJsB42zvXyfZY9RX/ETdj1G1DcOqtDXr5\n8thPOOSQKI0sAtsCkGjw3evqdt1Eg/t7aQAuA1r4jEePkBidVA256uybVt80\nIYgf8aSdb3QlhCIA+hKVWf6K8XADeOD08X0pqPfpJ9uifat/rwzA6+63CUpR\ntXZw90eNUvbGSq17YvyjJfyPcZ9Xa4JltDWvn1J+xuJuT62KzRVJ8w2dWbAf\naOtTcaSSpZljvB7v+YiQV0vuVLljx1S4yZ3iZIAcu5WO37gAynNvqn5a2wcr\nVzkwd0Kt2jge+bFWNMARDJ1qUglYSCFldGu39YHZnIc1t5EM0pn5fCl3IGmG\ncz79iVU/TMoYmOs/fuwwymnb407Optsmts3BbGs3+RB+jLHUREgaytWjKdib\nkG2gIOAsGVrdZ4GaFk3XMQZ1Jq65VWMXWb2wOvGcsr8rFtz84dwzMszZThgH\nqsPfWfjMIqzl+4dV8Fj46DNFggsbJk384dAyNkrYFNcTjReuufKNrAeWgP/E\nHC21\r\n=VVQR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"5ef8c715fa32660aa0d3a51633f72a53a8e89baf","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.6.1_1598074112481_0.03246275444383895","host":"s3://npm-registry-packages"}},"0.7.0":{"name":"use-one","version":"0.7.0","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.7.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"3eebc040b9d5c55b937c67fce56e0bc421b3cfdb","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.7.0.tgz","fileCount":17,"integrity":"sha512-WjwdAn7+4AN/UygzsrvVRug21MtO1Yfv1aCABdjweVtI0GrgImoy+J4RiDRzfae80OIfdxGYBYCdrTSPebnwNw==","signatures":[{"sig":"MEQCIHaj232aQ7Y0gG+IDiaCnvCnh9eQ98ZA2o6xaMQWmig0AiBfxlq0fxVySdaBnsYJE4jHLVf6K4kyHab2raROZpOvew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26622,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQTY0CRA9TVsSAnZWagAAWH0P/3HXVoK5DWo2Fn6y2NyY\ngzRe/uCqZbd3qznzd0ivCsMiUizb29bJHpV3rpdF7Y3qtg4OnPMCfLU18CHA\n4k0qgQF6D/qokLpsnFiS/fwpihd7pjwVsm3cmxL4ajPYGGW3RlrifKNUMlsm\nVrKdw3+r9Wgmab1vyrFLO2DXagRgP8gmyZW0/r3/KIeyXYMFnaSo0EPeO4/N\nsQi8q4TiAL86aOFzxZF4CxqumqQDTd2CYns/yfmzjB2DOcBm49SJnXo+3w/x\n6vTQ7A4yquUGh1GhkJXKV+kHf+8dbStosRFSxThGqHbMzOgnBlgUjb42v18l\nVSLXR1cYP9oVr4lvusQC6FOATMd/xsdI/T5AycJq1RalhFyqOYxfOagxNbuX\n7z7N9LedfJH7Hx9ZDk9aB2YEzju3EvVoT0/toY3c1r9CioboXH228PHTxkza\nXaBr7bsAvsLnTjtcburLcDeSi0og6Xtc6Ax32ZWrB0nH6tD446LSGcy8y7io\nI3pumK7WuOxntvb0yxnkcrHwC9vlxalKo6Ob9b7mnIV1JfRgoBaCKaGy9BLX\nBnbAgORE9StOET2VzHSzKwE/TQ+Lmj5HAepEnZ32wnr8qRbScyPSEbFurhNj\n0FZJLOkzq0QOnmnMwl2ouWLHg8CtVT9OrZeXBEBh9N02JUlmnS8CEAjRK2Uk\nCpl1\r\n=Q0wJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"5997a4078df1e3a7f262a3ed5122d800e5740822","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.7.0_1598109236216_0.5744152935451459","host":"s3://npm-registry-packages"}},"0.8.0":{"name":"use-one","version":"0.8.0","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.8.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"7d1709c2c13e1fc8a0aaca4cf1746b0df1213212","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.8.0.tgz","fileCount":17,"integrity":"sha512-wLNyE25uIZepqDArgExhFHtc1dCu/cJacPd+DMTYmKxbtit6jFxu6cN5lUGmFw137c3jByiRjEz/8x22zRM3JQ==","signatures":[{"sig":"MEUCIDbxXG0C3GQd8pl6ui2lEEv+oMNogyG/B72507djRtT5AiEAiI6++A7cFMk9U2dlR+GLVaPIHubTK2DHZxPfzbkQsO4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQU4uCRA9TVsSAnZWagAA0ocP/0YRUCHwXAyy0mDSQMVq\n8S7sd76nVJOF7X/7ehtTtSLmhG6L27SWkCKsngX/z0ENYijYE3xM1c+itGVH\n4EU4pjHeH+Z7WKdEoSsojnrpyRxrm3/UoKBQ5lN39oZLT5Xnkpl5pH5MjWKe\nr1kPHn4tOHo5bMdLh5lZsQQdelSjqPwagmv9q8cwMbhNXABHyjUAPdSwbZ2f\nBSIPzrHsdkqWUZCZBeUUuAiHU39jlaWCnDTUmhXKpr/34Zav4Ymp6cNBX6rw\nddQ/PLRbgjMFhdO1FHF4kXe/q9xuPZClEyaU9YfCAE42d6Wz1e4u92nHAJvx\nbitqiHoSVWANAEVxDZSCAsRrUueth5Rwpi8V4t0VsCZajRi/tZbZUAjuLEJ/\nC53eZHY3zs3FFnJqLM3ujxEdMKWOmsBS9tAZ67kywuUVW4PuIc56Tn0m2tra\nJocYtuYMBzejucRVhtVwZukgfaBWlB9z6diAA7/gpC4kbVMIX9FNXS2V5JaO\n1EEQFKF40cznygkWU9TPXs5qcgnekxLjsoTLTY6MWFceErT2/8pPWycRRe4v\nr7xl8NAJqvJRMmeFYGTUyJ3N3w2rq6055vfnjnnicxaZNu2vrz9R/9XeRhHR\nWUPqyRGXziBTgvernmCH9jYGYWd5JQfZVb2B28Ve9wwswoJpoT5knQbwPnWu\nXm75\r\n=uniI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"ca17198d757863fc7f12fadccc8c06ed63fadfd9","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.8.0_1598115373929_0.966182773568544","host":"s3://npm-registry-packages"}},"0.8.1":{"name":"use-one","version":"0.8.1","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.8.1","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"353c606f04fd0cb468940d0ec7f54f7c9dc08840","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.8.1.tgz","fileCount":17,"integrity":"sha512-GlhTI2tM7Y2wwaMtjcgaB9qhQQHXqvc2hb1gyzumqXW8v00tt54cKP2pA4lFIP2GVwhg0hiNRzHJQCgs69qMGQ==","signatures":[{"sig":"MEYCIQDWBjDrLPQUEGuZ5rizo/+ZI6h4gpOIULMflA8sSPsRKQIhAKOT5QfCfbtM2gFX/L/PF8aByAvI6FTxHjt2+Tjv90+0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQ2fICRA9TVsSAnZWagAA9oAQAKSEHzEJkJQKhVYbZ4Nc\nne2Gprc6qKjwnthSTlYNnSeDK2lYoytkAjdHqylmTsp0aYDFg7ryTTJO5T0L\n8SXx+d95uBaKv7ahPjwKczVqDTEDMW32nCjTiKX6y7frMrqulUSzvRTiIl1V\nB+cK7sn+UZKnOX7baorMSKe8D+HjdEOJJDtBHUuQ57u16KTECnH6twUFmUMI\nICcnUaEE+Qk4rT83cJlXx1Ofit2pTNtIrwEEbLWyq+RWkokFtPnKAO1/bgMl\nlYu/xqHig/OsU5kKvQZaqftKrfJQ0TtYOSPDQcbDEiXmFjidt6nT7qmO6Okp\nShlPE3A133XxOzTVyaUaAObJsJCjPAC+EniSs+17wNRLxYyeJ/OhLHcSILdb\ntQR+Iw2/Q8G0Hmifjy6cyzmsP/iMqzKHCsDqf1RUCeEeB0RIk9ohLmiJ2SkM\nu2sAm8LeDNir8DUQQw12dmVPmdB8A1zOR4DrovL+34Ve9QPGOuKIkM4t+qkS\n1ShYOhHPl300+n3LlzP5tLWXKNcW9gnMWHDSnIai/DyaUwRzmCnDwSKQRQCj\n4blIC+0CXZtC4geEvTQEPyAagATMazssit+z2mumprEpu9rBDwnp9c6pr50A\n91E6NGplamazwhCmxp+HWN2/p8Y+OBNnU1XQ4nVxqquryUaxOCtBXwjam5aQ\nGW7h\r\n=kFtj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"93f724b2c6b425c61b39971839d4d48e885061f7","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.8.1_1598253000355_0.3386053777546487","host":"s3://npm-registry-packages"}},"0.8.2":{"name":"use-one","version":"0.8.2","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.8.2","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"12dd1fa20153b4e244ec199b05041221fc141342","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.8.2.tgz","fileCount":17,"integrity":"sha512-JCnqChWe1KZNQ7hummKf+Pu/stZEif0U+l/cbPOQir9X3ylpWCViyop6uIXfbyVRS15L8o7GUBh0Ti09+4nd8w==","signatures":[{"sig":"MEUCIGY9HyYpifD6F2u/lNHcc8+o24FogiNUBcfNrGK8Xu8WAiEAkrhR5ocrPTk4H7ro/oCUgwMT8QKIEYM/UuGdMS/w/v0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37465,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRJU8CRA9TVsSAnZWagAAxVwP/3L3cj2W1fcS302PYiaz\nd+F+YDlRY0/JAM2tqUKU64ApJLLlCc+lZzCyIJV8zT4Maa1CvqMApyVS01Hh\nOtxnw+zUBBy4sv8Fz1aQ41NnmftcnBMGHO0Hr2w1eQsGE7bHYjTlUL4Y+bPp\n6f2NcTfe0IU7htNarRrlaooLWVpRp2aizX/4gXsuex2LtNWU05iyf4DWOr6z\nkIvQR56kRzIx1KB+Be2Vbm5h34pPwCHIFvHqoK5738G8FaUwdYeOEtW+malc\nt2Q8+t5Rjb2bQsUIMMGN9XPjpJ2sX3XajGWmeo0Nqy+KhEzIo4lg8N+JGU18\n0CwPuCOj/j0XBChDdXkJc9MPpGtj8OI+UoNYe+50/ooABoLlPPG5V3OvjElT\nOCF8V5Ujnyna/9vxzsu4+w5FmQLvyemtQB+AAS9NGs7vKlceYPJVBTQ8yo9u\nu4G7ZoLn0bb8x5FMCd0iQxlA3wuBf7GZQ96e0ymPI3jCQ7H/RJ7NgIEbtQQE\nzTK612pVx0I5J1lvkydZ7F92uNkc4Lq05zwW7vC5emVgn+Qt2Ed3Ykz5DSJc\n8IbQg3qPzHAqePTZASPbcuaYUzDepolxaoW4HX9kGUlU9OqGhtpuZdHbInJN\nJYmbDgCgyk3zrYn7JzihwRVqTsk8F8vjyZk5UzgmyEKt+PzXaV/I4cgSA1L3\nd1qm\r\n=1Oek\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"280e66b761f6c9c48b6de02ff205680375550c5b","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.8.2_1598330171967_0.0073746313561988686","host":"s3://npm-registry-packages"}},"0.9.0":{"name":"use-one","version":"0.9.0","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.9.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"adfa700832c6d16ef70b2e4198581de73623d6c0","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.9.0.tgz","fileCount":17,"integrity":"sha512-zwsSAAduyUaMhCltjnkr0eI/k1BA6bjkGZ7rnyrbh2rLwMBWs1TVcJAkOHm0f2bnfBVtxLxDDoQgbwqB18S63Q==","signatures":[{"sig":"MEYCIQDqK5wGhpQjPXsK51CZOLvXkxcEzt8r8W5pyFOdz5oORAIhAKRiMNZpTNJbhFQp3c1cjlDG6H5VjmAXr63Gec7dBYYq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRmzBCRA9TVsSAnZWagAAJrUP/RAy3fPCBCX3YgRgksjs\n1MAvY6Oeeq6QXWgB0Yah34GQWONRpMGUh0pmR/bJupWoJayThDgkNl3Da1GH\nuH8pcDh5XrzrkTBt7ttHBNyK4THZRDxydcQo32PWHudLwtLDaBRlbZCy2KMJ\nkyyXmH/obWz4EW6Z5cAJpBStt7r12RqcsIExN4WDlT2ZntTtp3n1mlQNZTvg\nTWsmECukEnhdFTUVnrSqOfys2gEDYUaAOQrDqsJSr1vZWBWcuLoqko8WSPvb\nVAelPrOqUo3PCGLJ4o/WxIRu6GiO+VHFVpS6UTycmyCAb8AzOztHCkX82qoV\ndYaHatazbQp5xPzff6HnFjfgI7rprNNtZ1pSTIkhK0+4ZWecjqI91KERtZ57\nIeuSQUHn0otGiOEE8mdwGLtJ7xBy/3btur8KgUyUjGL11yRWnekx9rLlK1d1\nMrBly4z1RZanvt27Ls862y3x9a5PsdnRnPbbhlz21D+bnmk79wqI2hcPwnSp\n3/cv6ZD94jtalBjkqdAkHY8uFGd52K5VCHQpMVk00J8+j24LelXmenwKBg+F\nvp8ES7PCWBvqZ8ePx49e2kdpvZ83QmaPIh/AAhyVaM2pAnAqkP2/Zg+TAarN\ns/k5QcqGJ2I9zBbktjY9c1hBNZ5k7lYeqWG6vCH8dQ70Z2ZCy5UvO6SugMBm\nNUJ5\r\n=a5Nh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"e42d66f9156d596fa4ab7aaee24afe5bd32e97e6","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.9.0_1598450880414_0.12848704066422978","host":"s3://npm-registry-packages"}},"0.9.1":{"name":"use-one","version":"0.9.1","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.9.1","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"2acb2c010c02508008352d5aab0461d4bedb6653","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.9.1.tgz","fileCount":17,"integrity":"sha512-wHSb/0btqtYXCiltmxKVVeHZhndbTdcmw7/mjsyiSDY55CENjbfR7u2GvuNUmaWyaJWTr+GtodHgr1SpaRbesg==","signatures":[{"sig":"MEUCIQCJripAfkQX0UCOMG8yMWBVqS3H62kWebuJOYaI/7+0UwIgGp/sVnebQdrOh2XV7fy+hHJY7rVEDPRaQS5UjnXSMsA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUQYkCRA9TVsSAnZWagAAlgwP/iyK+m9Dt/mnLhJ4GY//\nwoyxQoFCaSgfmD/DX2MoblgIrQ1wINB/6zelJUAUdVtrVJtwQZT9d7mSFjB5\nqN5obKMAKArzPaT9LtUYOaXEyICOXECf//tbVfG2R+EMYjj4VyMQ+RAvEwaX\n4cOgZwmIzv8enFC9egesi3W6J8iP4sVrfNsvAubvZ3Inz+FMrdion4b/kutr\n9KRkf/AGvr09Xr3Dk373SHdqy6hhIhUKRwpjmnPsAcSmDvlqY1XUg2CJMfC5\ntU/Ygrrnq1b49q7rF3X0fE0MGRDfIjZUEc7KS7x+Q/h/99a7bQhbbd2Mfi/U\nBUAPo4nob+EeKDZLjW5hHB8zIUSykIPnkgwzR7CYw+PbZCO6W53QM6sD6QPk\n3IwHgMDyYseX37QkyTThRcKxoO2xdWPepOqJuZ54WX2pbjzlXpdUBlYhjFuU\noFcRhgyMl8xKEYpadY2V2Qxa0poebVIjFuRuM6WO9XrBt0qQDg/kyWLWN///\nyHw/3imjb4kjro2iTn34sH0jpKFpa5PiV3UL2aDprBDp294pu8X9eWH6DTcC\nzbujkgyNIXs5k9yxUy6ZArmcpKWBY5Dy0Q2mUamXFH7fC5PUrf/5ieL/EK9H\nvp4pM16RhAD4ZM5KwuNIIqXslHLJnFxddKmSWJ6y5kH0n5je7DhjA8DQuePf\nMMkC\r\n=7GK/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"b3d9284b243f7985f8bcade85ea7155ae472ecc9","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.9.1_1599145507776_0.798586498318034","host":"s3://npm-registry-packages"}},"0.9.2":{"name":"use-one","version":"0.9.2","author":{"name":"suhaotian"},"license":"MIT","_id":"use-one@0.9.2","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"dist":{"shasum":"e8ae27865c962f5539334abd30bf37dbbbd1e25b","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.9.2.tgz","fileCount":17,"integrity":"sha512-IHpf9kAmM6wmtG5SceLFbbfo+E+E64ilW2q1u4lMDPnXSVrx9b+F2UzHA1V4IU53zMJC/evreou0YsfBugmqYw==","signatures":[{"sig":"MEYCIQCW+nGpasH3FCrbmdVe8cS3Tw1ER9owMaqgZ4RSEExJLgIhAMZO6VrPeNw93G2rfVu1mJQTb6BkTjWnaMPN8JEBY/gp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfV5CHCRA9TVsSAnZWagAAbSsP/2AOJZv+n+RTg1k7kcw/\nB2biu6N3e//k+bjRGiV94KTyUX2LlwIe39FoXBFdQsiZFo9xCQ4HkybMy3+x\nL/1w/L3FGDFeQWCbR3zSMv6avkddHI4d4+QeG6+LWOeG89ZYDsbQkwIuIxlt\nONeuX+/a3JwZjDJtudwDLI0WnPfZZrWB/u6T2Co60D9HaL8lelVeDmWRIqzC\ncST7ZmsW8t0STb0MMnAqXJebq8uFk8HKsip/lrYAnEysj7yWAbthTqVoUMvc\nxjSL/ZyObK/UHqkZonKhFObV50jcwEGw8WE5iQfpR53F9PxcWvrw7gyf83bF\nIPMoH3xTVIGuJq5jmm9VsSZ8z29den5TUUgfa7g3qJO03xNF7Flk/wbc8Nbr\nFDtSiaTAeZ1h++5ThF11/QmAQ9cKRhLeyd+K68HGXhwU0cB+er9+Iu0Di0M2\nYZ1bf76jmVe3P0vNZvFickZTtQNTjivMZamMZr6sQrLRQ1UcKGt/0Noz2EsN\nsi5MTcN2mruDoyjDDVxO0V1uE09vS3Z5YtfWduN5cMQ2vcVsShWQ7LhMD0V+\n4sSuqWk2SETb8YmMrBTna8R1jJMed7JejiO7LcalbnupXxTF9oQJCzSmefIt\nkPIx6JgCZ3zTr9n/osxH7SNSN40VKD676K50/sFq2Ewyh0TNuwD2pcxtFyBu\nZuqZ\r\n=WgXV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"50c98122c49170bea76d0aa03e3d3afc333c4292","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.9.2_1599574151146_0.581441500298288","host":"s3://npm-registry-packages"}},"0.9.3":{"name":"use-one","version":"0.9.3","author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@0.9.3","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://use-one.com","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"4d5d5fc192aa7570d54efa989c39796dabd8f114","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.9.3.tgz","fileCount":17,"integrity":"sha512-0oW3def+pL/Jcc5CIC6Qq3aIGvbIHWzLt5HLJW6gMMvjPL3gfZrMfQGGHIvo7/embNo+SwQjM0N2FyCHzDai7g==","signatures":[{"sig":"MEQCID2ly8pkYp9w2eq7Ln81fd/2AIY86Nn5UZ0CPH0/zItzAiBo6SC7T5J+6UiQSxoWTtXXRsccvxGOHTcEmkaweny5OQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXOkaCRA9TVsSAnZWagAALB4P/jfZrKA27lCZxSAEFdPC\nbzRg4FmyHxQ/RTLyLJ3KoY3/Oeb1HZnQnME35UAzS2BFgVEydx0kz5CUazXY\nsCluJT7IIXoLNh9x6gmphmECs68M0+nCEN+HNo1eAPnyqK8qt3nR7TCwiKrL\nK12RFAttXA85pCSFGQj9MSXZAP+fmPAyKXeUslZIrZg49kGZB4dqXMlriata\nnHLy30D7OwwBdN4Cd3hixuLZYFm/7/HTXlbF7vMRWrfHR7d3G62vP4kbAl6X\n7bBGsHwLs3Yz798UvOQHxkAbtPrBq/dC3l9hSoPLxPpcJYFM6TNltH5aWkzU\nN/xOQ+K3sh/w/ZIeZQ9U/D2aDhFNKONuY1b42Ci0PJaNz18VZKJZ23CRKpqT\nwlstG5ewiAoxmwZUTAKi6Iz/wni700mMihuhQRc8QbD2x1jwnfvY1rEIlkYH\nmVU44h+tm/SRP1UaCYH0U4fVTNb18cSdBirwDoWQJ7KV5kRk8g72AYLM1wNG\ndbyR0nmgD6Q6ZycnSonywAqBDIr9/SkXq/X5W1Oa9F5lL+ZTUmej265wBD25\nzMWkwRe/DjbzQjQg2f2aqBjvx7elc52sXYsuieJHf5gPaE+2moYKKSKQTR3H\nF1ZkFPN7NZgO14ZI5bgYInwyGewfcruGyBeEu0U9VnZ9J0ja5XsnEQ+9N3G7\njIzB\r\n=K5+X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"cc710fbbc7687b155d82f16656d197ee96f99121","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.9.3_1599924506120_0.3332260429504461","host":"s3://npm-registry-packages"}},"0.9.4":{"name":"use-one","version":"0.9.4","author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@0.9.4","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://use-one.com/","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"464fc674c49d102a1aa137ebc542f9c69d11ada5","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.9.4.tgz","fileCount":19,"integrity":"sha512-/mNCbG+tm/xAnWf63OR/yAl8/G1q09GPo+acBJd1lYJn7f2MHTiNi78vYjShMH/Nms33+KyubGZGrjcXExCIfw==","signatures":[{"sig":"MEYCIQC0Sk4U8rZZXWNAtpkJsxScSmAj9JGpIY3uL5B4gcoWfgIhAOlLZ3o91q4GTTOZRpX6alZRtDtDt2xKLx/GrlNWbMCj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf3jAFCRA9TVsSAnZWagAAUvAP/23NP/DjfOl7R+BunNPh\na7EviSrApYWpGMEEJwJPf3r+UDbrlNc1YwfeQ/zKK1Ga+6e9VcB5FqEWs9iX\nj+/lrI/x/wWO4AMOJ+fj6DIsZg/qYmsp9S/4UAg6wXguiBfbH9QiEas5g/Nw\nbDqaKaGos7Z+CNaU0bELAaKaxXUj2RdxSWL69HefMbhR3lpnGbCcq5R+vzyc\nmN3SU1bpKValpsYTqku8SjgNVIYmKh5qhX9q3rhmrt3DaeKqN1RrGFJcABdq\nCMHu4PfdPUS+N3uAtaQ7RxXvIltxm0FdmIVUVK7JPbd9BXqcNi9h1sXvzUOK\n5ZekjJ94mH4CC7cYKq5ICaJjGaKqsdPzoWpoU3ogSrSLOOvfbwAxTuEfCzl0\nA3jA7G5kkWl13YTGO+u13wlS8ToREzQDcK86kOYfuxnHrCJoSfYodOgHDRin\nIKGtQuVWcA1lhkz0AaFr1x5s3G0wrr2Kh2ZWvg2B24Thxa4sS8FcFQs446WX\nsuMHKO26Th10Ucgts97n0O9XbxVu80TAvzt0v1X9AqDw24nzm4oY8HE71OXg\nbH52hGj+frCvUcJhY2I8E47UU2koVyz5t6Rx3uyvU9j8iFotCmEVxCqJrSyE\nn4XYvU6hx1m4MfkBjuU9PfLL0ggI7ToVE91cC1+3SLiObFvV1dbu/wLjrqFW\n2fh9\r\n=Cmyq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020 suhaotian\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.9.4_1608396805318_0.29449378567297857","host":"s3://npm-registry-packages"}},"0.9.5":{"name":"use-one","version":"0.9.5","author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@0.9.5","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://use-one.com","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"8d434ff729c74389e1ea72f406afc47cf04ed843","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.9.5.tgz","fileCount":17,"integrity":"sha512-ZPHa+zz8dshZxAsrqYbTFZheaNIr8AUp5Qy/7DvlUy2BYM6xhqf71Y/6hIxfuCVub7Gv5wdEW3YQI6bynKCBpg==","signatures":[{"sig":"MEUCIGXALXFxJLE4/RSSVJ1QZP/1y2LdZdzRlj4iJgeKqPekAiEA8V2qaK88U32qXfj8j/G4hEoJlvc/zWRfz0OZ07/kkpc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48524,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf3jCQCRA9TVsSAnZWagAAHqcQAI8tLzfqdaYe6Ex2kfma\nLRlWwJcF/HdoN26VhukR9kF/Vz0IjvU3osCNt6pbSnMTd32CECxUQyax17rm\nJCINzlgfBseajPEzUoBTlTrul489S5zvUS1BdAq4o9l13pDZ3iRnVTN9fPqu\nLNSmm0tGBhUWn4ZaKGQtYHR/WQFBsFC1I2KxxjVi3Twp4Yw5WFNc+A+7qtZe\n8mwJoaPEEQN+bhrjVrkQgOggzVRyNhH1hpdp6RaPF2LdjJEq7atpi9XZI5Y/\np5hPI0mRyEnyEpvsRalxs/tL+9s3xXj/6rc8y/5KckX6IUUZx9PzFqRik38N\nz/oowiZzOW1ss9GbZApENqZ8suioRvUC3VqkiWjmA1YkwNQdgV7xt96qOST9\ntqtXCcKgB6zterviE4ZrSkoseKw240JxXB6bakMRXwiyHgmgTEQkTSX/6NFG\n79/C2niPliyUZ039+QkbqrFi1BXmLiEbnG8QOVzxat+dbx0muTq4tIILecNU\nUkss/Cko/+DedzC/Gd4pY8dzpTlP9Yz9ABhYwTq2boBrLw8rPHjZlxqGbUlJ\n0M1X0bzKEKM0s65yxJfW0KUfYmnHS0omNeswAFh4l+amAgEWXz6U3GCxyJK2\n5+SVuVwC6BjXtyXGvYpN0kLnAXZaF1BSU8+6xwSg2KTqafC1Iws84nq+VDwF\nTlTb\r\n=EaFy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/use-one.esm.js","gitHead":"c9ef5ae02718ec223cd2c3237af1e0b26cec9a4c","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"6.14.5","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"12.18.2","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.9.5_1608396944200_0.1991627775808542","host":"s3://npm-registry-packages"}},"0.9.6":{"name":"use-one","version":"0.9.6","author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@0.9.6","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://use-one.com","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"a056c172d8d2a2a04f59d3e026fbc96258eb6ade","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.9.6.tgz","fileCount":17,"integrity":"sha512-o3QU7PIAqf5QivVnDPFBWV+F7FvH8aWxvFzRLCY++xqprcm/+k72LsZ49nm92b3Wa2ZcfZxYjjRDlNDU36Z7uQ==","signatures":[{"sig":"MEUCIQCv6N3bVWGwNDu/xh1o/jiCRbE2JYwXJusQ8U3VQEcBwAIgESYJDtMEHPCBO0yxBOnR9wdJJu/z8kIbcfoH8oc1wR4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48627},"main":"./dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"./dist/use-one.esm.js","gitHead":"1a6aad63f06168ba243240bc785e159d6a7417d4","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"./dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"6.14.15","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"14.18.1","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.9.6_1634468328270_0.7811243340005398","host":"s3://npm-registry-packages"}},"0.9.7":{"name":"use-one","version":"0.9.7","author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@0.9.7","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://use-one.com","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"237b54e71d32b030f5f7d1b3074b1ed59d47a4e1","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.9.7.tgz","fileCount":17,"integrity":"sha512-60SvDMG7dPYcUmtkFAg4GCAJbLb+iWb6ylCSJGPuLb3Uv/1uRmn4RswCZqv63w0Bhj+Nj072D9f79JYOhwyu8g==","signatures":[{"sig":"MEUCIQCHHbNbuoHRFb3YoURZOIm2qdirAl7aAmui/q+bk7FpUAIgLWeRcXxvyLgxID/oqzy+sL3TeLjxVTJAFc1goz2pAZM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48626,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2/LqCRA9TVsSAnZWagAAApQP/3ie8L6tJjXCInwHTGb5\nYEAAUEotDATlZcSsddzhPU4cUr2fpCrVlvyLbKmGeY3J4BFwY/0G2m/eaklO\n+GAMl7z5KNLBw7HqEN8tu0lPqXa2RxqG1NAowLSG2FyXs101If/RnVAB4H6z\nc5Whb1vs2T12D+zFhRnPocUyqB0Wq12n5l7hdyQKDrKfahda/t1KIOloGTYe\n8AScPHlSpM6zQXt1TavHbQl0expwwgyWqkICJk8+MqjDH+ExVXN3pQP7J+ck\n9dHv3cqJLk4qsWWSQRb8NjZEjvfOZcrP0Tinh2UGKHANVDu2wLntCZ8oGcZM\nldNDzmHgy9c8lkNcWjMgjaQ3eAwbhYnmsWWkXLxuRKTKAxCLyXgAwiaoD+TI\nU5MMuv3uyHx721Yq/cSnnK9BCv0bV6gYlUlmsXrm2zRNBg1NocTmiXkWeQ/s\ny9kHawx7qfqb4Z/oVM3yZqZqRyClKnHRlOahX7NQG50ERTkvvqeE6EBNKM5r\nG8H21H8d6ZlP9u2738WH7Bc+GOIVGg0lS2Qnuhhj6AxnjD8mJE+ZzOJMIcwD\n2xnNvW7AKB5pyA1z0QWE4yGvASE2RKWRv/9WC/jJjO9a+AlAUIhzU4Tag2w+\nUgerF4TeL+unalhH7bN7qb8TGbXrcngyMUyRs0o0lTX+SXJXxAX4yUQARuhI\nIGch\r\n=HZh+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"./dist/useone.esm.js","gitHead":"1a6aad63f06168ba243240bc785e159d6a7417d4","scripts":{"lint":"tsdx lint","test":"tsdx test --env=jsdom","build":"tsdx build --format cjs,esm,umd --name UseOne","start":"tsdx watch"},"typings":"./dist/index.d.ts","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"6.14.15","description":"[`use-one`](https://use-one.com) is a HOH(higher-order hook) for share state between components in react app. https://use-one.com","directories":{},"_nodeVersion":"14.18.1","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.2","husky":"^4.2.5","react":"^16.13.1","tslib":"^2.0.1","react-dom":"^16.13.1","typescript":"^3.9.7","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/eventemitter3":"^2.0.2"},"peerDependencies":{"react":">=16","eventemitter3":"^4.0.4"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.9.7_1634468470622_0.048575145988981605","host":"s3://npm-registry-packages"}},"0.10.1-beta.0":{"name":"use-one","version":"0.10.1-beta.0","author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@0.10.1-beta.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://use-one.com","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"11bce5a8b76be709aa8e698a515c677ed772cc67","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.10.1-beta.0.tgz","fileCount":7,"integrity":"sha512-ULpJsmlBBNAqU1iyY+tGa1P/0UbQc/uvWsPO+7O3qHb5yw4SKmuSda1I34UkpuzDkTapG2L8MLEG0mTKOQORMw==","signatures":[{"sig":"MEQCIEafMfxrO75Ja//jELJHryE8659g28UShsY91HKUCacUAiA19MkPZ5XidLEnRG/sV+Cou2FNCoeaq5caBNrAsySSDA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjsHjkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoThQ/+ILLFMTJ1qGUP6oUdMf0Lw41rnYuG3hYufkB8SPeB9HQtm7S3\r\n/FeIc0GNoiwCbgr0cAhmtk77O9yBoyUkSbL86F0ZmA5+JOwtc6i8NOddIC8/\r\nEzc41oKsLnrGDjAbvXU4lJkY4bh2K4C2Aotw66970x0TlFZidnMNWejc2o65\r\nEkWE6wjDsh/LdwVWW4/x3+qG/Q0ToIf3lQK1tc5TLspQVm3/v5fNQ/tBATnr\r\nI+vxd+1xNVaroqQdZKWb+Sq/gSQ/UhxU2PpIDlumi6Pk3CxrhGsn3FVF3Cdm\r\njtFmKSHPT+Af2wpFbP1hUtBOjz1vqtgSdTe90qD7huICwqKLrLcxfAyNJOfa\r\ndKyrkq5HMKw4qOuexzlT1dpjhd92fUEc1ujsaKfHfSo7DzHO/st2rIhSsXrC\r\nZ1T5lTd+VFKc1vS5FGLVmbNPl55bsVHMHTGxD8WAiijf/ZhuS2RVGbWUorft\r\nNHt5S0H/1y9InKJQbwc0QFHh/wEdf3Pb2d0c3dLXnD4OKlnvL8prZxH0zxZt\r\nKUC8yf91MNgsauw1hPQNqJV0/s5D63UM7UBP/fh1ri8suJf+BIgsO2GbyqQE\r\nVQFt8uTDAz3N3OcTlDOZ/oI0cKGz8CzeQUc5lY91YDgDBmd21qAViAPg52v9\r\nHOAlwy/sqsNPtzTaJhS78RWxBQjudFiD+9Q=\r\n=WVoP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","husky":{"hooks":{"pre-commit":"echo lint"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","exports":{"import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"gitHead":"6902a79da3436c0988437952dba1bf64d5b560d1","scripts":{"build":"bunchee ./src/index.ts","start:example":"cd example && yarn && yarn start"},"_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"8.5.5","description":"[`use-one`](/) is a HOH(higher-order hook) for share state between components in react app.","directories":{},"_nodeVersion":"18.12.1","dependencies":{"eventemitter3":"^5.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"^4.2.5","react":"^18.2.0","bunchee":"^2.2.0","react-dom":"^18.2.0","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/react":"^18.0.26","@types/react-dom":"^18.0.10"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.10.1-beta.0_1672509668663_0.9158551828827444","host":"s3://npm-registry-packages"}},"0.10.1-beta.1":{"name":"use-one","version":"0.10.1-beta.1","author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@0.10.1-beta.1","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://use-one.com","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"b9414ffd0a92668938c2f8772520422d91527016","tarball":"https://registry.npmjs.org/use-one/-/use-one-0.10.1-beta.1.tgz","fileCount":7,"integrity":"sha512-QbA6xDvbSd9pEP5CHETg68MzVJTyZLzwPrmLeXFpEJz08mUetgJFL4J+7Hu0NpcXqeY8IXoyNqQHe+2lK+/9Gw==","signatures":[{"sig":"MEUCIG4ma8/rKXmweVNGL0QEmkCc6AYgmOhSTXlT/rmPBE8qAiEApsRceeUpKmoGrXtrked4KswY9/3uANdTXmUDnj/yabs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15924,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtD9vACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpu1BAAmY04dspNrZo76ItkH4N5Ng8G56kz8PX1pwhknafx6yF2qaGQ\r\nRtXH+WuHNQ4lsCtw0FLVLWf3hTgfOlsheLSbO+YCfGVgeSdS1c89QDxI65TG\r\n8HBZcCyeTYvsGqiNmhXyW78clBYVOtdGAnDWuO9gBFYeNkGKFYDj71fHSoso\r\ntUgooSkL+jhKUbjvHYHD9oH4kqV5uBXsgnOl6Rlaaeze9gpLsYHC7XwrlCqb\r\nuKY7srUv/jSjo768z0Tkaqd/8QoE2EG9YERKi5Rp3Pw2/9SYHGodyavhbkeZ\r\nBP1VlHYzMGZuoL1zYTntb5Vtko1WwcuIXZOZZQVBf/R3jWbkhCDu06rH3+vD\r\n1d37/RKe+ftCchWUW9MUGayKwUsACyyzv1nVe4egofQ8mue2L8aGZ52Lg0Kb\r\njYtFSfYsBpn+mNHCFME/AIM5H9LJKbMvnSUTmr2jxboVkdItv5uEmqdFqmPl\r\nXvrHVfHvr560UPlJtCSgGIIy8rbofaFUmyvyMG4qib+WIOs7VTTW4roOzDlL\r\nkSddCDqR9Fg2siCrwNIw2EBJwqmJqbVNs9cPpU2MAP9qUXC/n6IFnPZEdP+C\r\nfhXG2G4B/aTfVWVEzeUbAcGV96RJIAqkCECydgY4O+csKq9XQ0ff/GNmvRxl\r\nZJ27jlYEt+mzC6NDPGfbrdKL2jmM7mOoMUk=\r\n=jkWz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","husky":{"hooks":{"pre-commit":"echo lint"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","exports":{"import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"gitHead":"47bdac26ced6c3f50d2698f587f9df5eda2a1ead","scripts":{"build":"bunchee ./src/index.ts","start:example":"cd example && yarn && yarn start"},"_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"8.5.5","description":"[`use-one`](/) is a HOH(higher-order hook) for share state between components in react app.","directories":{},"_nodeVersion":"18.12.1","dependencies":{"eventemitter3":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.2.5","react":"^18.2.0","bunchee":"^2.2.0","react-dom":"^18.2.0","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/react":"^18.0.26","@types/react-dom":"^18.0.10"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_0.10.1-beta.1_1672757102462_0.35327625187272615","host":"s3://npm-registry-packages"}},"1.0.0-beta.0":{"name":"use-one","version":"1.0.0-beta.0","author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.0.0-beta.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://use-one.com","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"e87c0ee0e39fe751cf43a7298fd3a57cf082931f","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.0.0-beta.0.tgz","fileCount":7,"integrity":"sha512-3sbrHTJrodDEiY9ErT37X3yoe2v7K5DyZqr0sZA4D7ItNXjfGvSa9++8tHdZxAGWlHDqjugG5kuzfL35ZExf6g==","signatures":[{"sig":"MEUCIGTNIxyNbQx2t9730+laKs1TQeOZOkoPt1nxzSQ8vaMCAiEApiNxvdbdqhDStA/ijWS845IFhSJW9JNGZohH+AOISuw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtERbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+/g//S4riNT8Q8U9GcVDZVpGYhAwrBciJXM7GF69If0qrNxNptjkD\r\nt1lsWutWJKsngV1/D6DkKZOp8AXTDQ3KV66HRE9V3d1qMNPQYF3Ou1sHY98X\r\n3PEpaEMS24vezcTC8Bn0mBPZqrS6VOoKzPg68OEgEcq+wQdKOyom4zd+xoAG\r\nGWw3SZHXDMUBuMd4SPm8Xy7uCphA+xcKefhlqu0zTI2I1HNpaYiNtC1YROUQ\r\nVt8fEccVGMjSNIUNnsPKIXPondvfrx7d2ovBxvRkZlxaDKExr1+VZrYsy8tI\r\nraZVZSKzjXsDkj7c0+PUp0mOmNDWjem1CCmX5QgA8INK0tWZ3fGNZnLQJrLo\r\n3D7PNKr7WypGodtUNpoMFUg5PGmmradaonLX9fCFBgiyB6UMA2yeb++vxw/X\r\n7B7pBFXd4EU+2hh0WcjuZ4H3gFRn0Vwq6E7Uff0qJ9E2Z/Jnp51beovFFp7B\r\neCDpNC10nnuoN5zkyC6ioP3FTY/7WRKXbvuyHOKTbM3jCGINEZnUoKlSMXl9\r\nmF/bexOu4U5hmz0G8tay+nTVSl/AymbtAkAF2g1RnBjGIuXo7e4F2saGuNwk\r\nKl4DRnPE0HOLMtTVDIB1qw+/m9s5jrOd1FpFP62dkxtgPkAxmJhBpflXyEli\r\n6yoU+4FkyYctmB9deBLUxrflJuxutacBggQ=\r\n=VeX0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","husky":{"hooks":{"pre-commit":"echo lint"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","exports":{"import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"gitHead":"47bdac26ced6c3f50d2698f587f9df5eda2a1ead","scripts":{"build":"bunchee ./src/index.ts","start:example":"cd example && yarn && yarn start"},"_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"8.5.5","description":"[`use-one`](/) is a HOH(higher-order hook) for share state between components in react app.","directories":{},"_nodeVersion":"18.12.1","dependencies":{"eventemitter3":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.2.5","react":"^18.2.0","bunchee":"^2.2.0","react-dom":"^18.2.0","typescript":"^4.9.4","@types/jest":"^29.2.5","@types/react":"^18.0.26","@types/react-dom":"^18.0.10"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.0.0-beta.0_1672758363311_0.8889393925730311","host":"s3://npm-registry-packages"}},"1.0.0-beta.1":{"name":"use-one","version":"1.0.0-beta.1","author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.0.0-beta.1","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://use-one.com","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"75dc5e4692036bebf6fe24098085b6dab8ca3582","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.0.0-beta.1.tgz","fileCount":7,"integrity":"sha512-HuUBW7EOO92HqkeyEvgQ+4mVKIgk/gUC78r95eBY7+KTPUr2re1nTSSZilp+PPb3wMMXN1Wi9XWz/R7VXSV2Bw==","signatures":[{"sig":"MEQCIAQ/GwbhFk+828CselxzkiPKfnPDPdu/Y5oEwemL44TiAiAz5okyQumkx1EEDjOaxq320zf7x0q8fPVOtrp53aVDTQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/KQ0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHcBAAnOtdTM5UpqftoV0s/sJlsDQg6O+tlg+Qi1ri3mZqvoLEAlOv\r\ndNUQ2OVuSvBALpnSsP/iWsjbEE+vYdtX+EMhnOXdpdhmeO8pdnY2kFGabvWQ\r\nxCX50g12y2IeBTLkygijb3/wd+hRCUEyHy1ao9P4R+lr3ADXHm2RowIEmRtY\r\n4G8iGTmsQvLJDU4jpuic6rGI/uc3jrGrHwUkkXm3z+GHh2L9NYiAG3Rs/nPC\r\n09FTVHjwE8yo4m/dGBGbRi0/Aao4gdjX1IM75FKUTgxLjQd7IsNzZycEBtM8\r\noEBe4SgAQ9LbfGzEuEtG1eTrpVnYXZwdJXS6IfqtAg8N7xxTdx+DXHrfTNGd\r\n5vFydkVvGz/csDYE/DKxbHWZfAepkWCa2lFrCbv4BCP1+jJrDY6aaNDTcnAN\r\n/QHeL2KlS6gUr1DsJeYupz5UCnpJYFJnjS7RJZPw/wqjS1+Mg1gLVQE2AOJy\r\n5eDYz+Yry9TW1HMr2MvKfpFEc3lFmfvFKHeMnSxbezzpbNWDov8wX5sFmSdu\r\nbtT0DEtQvHfJRwY7DSDWxQC/M0WeDpDBlOvLknO1ecoe/UvKxidJfQkhPP03\r\nGK3IEHCnSSSwmHdgCwRWvi9j3cAvAR3uj8vE9HrlwpGdTiIfGxdKrtajwHI+\r\n0kbFngBLuAM0oOd23tDdYux3zKUxaIDSyus=\r\n=tC7R\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","husky":{"hooks":{"pre-commit":"echo lint"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","exports":{"import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"gitHead":"6251cee0584f53aa5e01d2d8a60a99e7d3a3bdd1","scripts":{"build":"bunchee ./src/index.ts","start:example":"cd example && pnpm i && pnpm start"},"_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"8.5.5","description":"[`use-one`](/) is a HOH(higher-order hook) for share state between components in react app.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"eventemitter3":"^5.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.28.0","devDependencies":{"husky":"^8.0.3","react":"^18.2.0","bunchee":"^2.2.0","react-dom":"^18.2.0","typescript":"^4.9.5","@types/jest":"^29.2.5","@types/react":"^18.0.28","@types/react-dom":"^18.0.11"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.0.0-beta.1_1677501492095_0.48171379346423326","host":"s3://npm-registry-packages"}},"1.0.0-beta.2":{"name":"use-one","version":"1.0.0-beta.2","author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.0.0-beta.2","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://use-one.com","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"20caca6273f0bbccfee2e71dcc0b42d14539154f","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.0.0-beta.2.tgz","fileCount":7,"integrity":"sha512-Kjmh7xvowa7RCv5a321m98FPDRWJkyP7DyQwGCX0R87JB90+7kfhHJhRavSb6TVEdFbwpTPy11Xa1A/Ga4ANmw==","signatures":[{"sig":"MEUCIQCmWiB1Qmjos0FDe49hCuYoTxn7lx7MDpO4uVxRN6nc3wIgc80kMWXAAb2eoUOjaxSf+bdh0ZXaGyXKCgHm0Qpm22A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEbm/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqpiw//c0q7KzbKBGTY5W5cN6CeF71V05Vt8Z0Efazmuh18zDQzdG1v\r\nfIoBsLCrQY7ERxoKNyK8i9edWyjR9mBzU/JKkltuNTVz50TgkkJbEjKMs+Zy\r\nLV2WHw738tYysFkVC7BMlfThu8mIocrb3I6c9h9B2Xy1zoHN8g+WSMqXhWSf\r\n2lHkElchL3pNanKwgHNhivzWh7ZeooDAj2kX+v43XSiYIvx0JA/IDtVDaVdE\r\nJDflUuuTt0qKnE7dzcaxh1KT46yiSDwcjimCTM1GrAG1mW3p9bxJZ+pHwipd\r\nJQ3LncsnsG6qzKzT1qBeuK1DzS7fm5j+s9GmNwNP4g3O+gTuYh0G3cato//v\r\nxURef25x33g1f8xL0fz+eDZ8842UIvyexvpeQNrTaUBx6N4FzhSZd1DnmEJd\r\npvcjSxpAx6hW3ZXehPXNM+2O8Ja5rNaxSv0Xpi99s+oCm9Yams9e+D61+TLn\r\nLB1A7SaConTabx3kH5YEC9+6BDMcEmzziVy+/U6T4uDQ36tX4iNVIXzbeMWg\r\nH5Gl/mcM1QY73kDa2iiraxZ//GRcpfpM+crxARJsf+9VdmmEDp9z7BbN5AaD\r\nNZNQbQDIPZPph9AZ01tOlS/FPISRloWfQ9FqeoqvPOUt4LCfaXtHKWbDk20t\r\nqCx0cRjJ9JV01QzfSbyM1F/e8QLhjk/kQHk=\r\n=I8ye\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","husky":{"hooks":{"pre-commit":"echo lint"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","exports":{"import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"gitHead":"0a08c32c39de39e2dd0ea1f1505360393c2654e5","scripts":{"build":"bunchee ./src/index.ts","start:example":"cd example && pnpm i && pnpm start"},"_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"8.5.5","description":"[`use-one`](/) is a HOH(higher-order hook) for share state between components in react app.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"eventemitter3":"^5.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.28.0","devDependencies":{"husky":"^8.0.3","react":"^18.2.0","bunchee":"^2.2.0","react-dom":"^18.2.0","typescript":"^4.9.5","@types/jest":"^29.2.5","@types/react":"^18.0.28","@types/react-dom":"^18.0.11"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.0.0-beta.2_1678883262912_0.8469545800432934","host":"s3://npm-registry-packages"}},"1.0.0-beta.3":{"name":"use-one","version":"1.0.0-beta.3","author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.0.0-beta.3","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://use-one.com","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"6fb3c4f4db09135f12b317cc815eef09a655eb0b","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.0.0-beta.3.tgz","fileCount":7,"integrity":"sha512-3dkvxYV/JzVTvh3JtnwNuEy1eFQHyiNXBcVgDQ7HJyEEKErfg8nadfo23uDjaHDdVUq0IDOaf+2fSLNHa9NdbA==","signatures":[{"sig":"MEUCIAgDtf3FP4o87L/y1xbYU0BXI0rOxTcmifjJF/o58t5sAiEA1DFHD3j0kNruJT5SUiF3Z+eBPXbVm5Wp4CqbHgL8AgY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPAowACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWQw/5AFd73jEGSMS6QLH0S0yHB7VX1+cU9DAuQMTtS5APvnXtLg5c\r\nNeXOLVL13hUHvjmXzC091QzPOuzTv+2LGxKRzHx71Z0wvPMgT4FO63gZof7K\r\nuMU/Gh2c011i1wuGJb3iWxRLUiYiaoLVo6qNY8lcZev1Boz+ent1nPvP/KDl\r\n4e0xEqDk87aIl0bfwvtE1nsQd0Um1dSL1xRuMeuYdli8ZdQdcsY92IFYf1or\r\nGbEwahjs7RkRLFieUmgXhfQ0KT7nyq1spVG6e291hxZTgzyjHOiu+qAyNgLP\r\nWQg61TfxnvF8/KaIEWfhcSbtEdHJmbHRpVXm/7CzaSz8pqDGZbgA4ZeG41B0\r\nakbKLS3XeM5ae7sybsN6IURPrlCOWBH5n92pA+0yKgg0uRn8+23eoN+0VMx4\r\n5BOFEFB3LqW+LPBB3awes/SKjLFvSiFV8PSRjVeeiq7rgnSLxPhGMg54S1p0\r\nqoQlRTr7IV6oqN4ww0JnKIB6OFwu+pdbu5/jV1qnWEmzvZm6HMWgM7mrd+Tn\r\nkkAyMpA0e3HHAeUzdN6jEOFZLcr9Vbr3BwIBZnUhlDnC0O80PUbbKYBoMori\r\nlSCOk94cmN6YIhl9tqoK4mpBTBv0OtiLsoULODb57koOKCVM5xCSEeenTrMA\r\n65Txrx1HulV7FND8C3XNXJQVJA5J3+l1F6I=\r\n=X8bV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","husky":{"hooks":{"pre-commit":"echo lint"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","exports":{"import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"gitHead":"1e3aeb9fcc238b47ae646c140b0cca2f5f4c9082","scripts":{"build":"bunchee ./src/index.ts","start:example":"cd example && pnpm i && pnpm start"},"_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"8.5.5","description":"[`use-one`](/) is a HOH(higher-order hook) for share state between components in react app.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"eventemitter3":"^5.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.28.0","devDependencies":{"husky":"^8.0.3","react":"^18.2.0","bunchee":"^3.1.0","react-dom":"^18.2.0","typescript":"^4.9.5","@types/jest":"^29.2.5","@types/react":"^18.0.28","@types/react-dom":"^18.0.11"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.0.0-beta.3_1681656368100_0.47992590465764207","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"use-one","version":"1.0.0","author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.0.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"aadb94e2ad6a8cceb28d360a78fc8502e9ad0e80","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.0.0.tgz","fileCount":7,"integrity":"sha512-PEQ1wYEtCx1ggnXNeWgMMIDLUIa7L1EVVqo5DucDizEswBvBu2/oAP3VZsrTAlsUh2CeRjVpCXr2VjyeAWPEXw==","signatures":[{"sig":"MEUCIB+375DvvT9uxTE3s/FWgSSCA1mls3d3zvTLWzadxFK2AiEAudovGeUiWG+jUWMUGnQgDtwT7WdZwdN2EdDj5k+hkvQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":15319},"main":"./dist/index.cjs","husky":{"hooks":{"pre-commit":"echo lint"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","exports":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"gitHead":"e03f5f1753ba82a19ee491c0909a9c3a8e7e143d","scripts":{"test":"pnpm jest","build":"bunchee ./src/index.ts","test:e2e":"playwright test e2e-test","serve:example":"cd example && pnpm i && pnpm serve","start-publish":"npm run build && npm publish --access public --no-git-checks --provenance --registry=https://registry.npmjs.org","start:example":"cd example && pnpm i && pnpm start"},"_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"9.5.1","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.16.0","dependencies":{"eventemitter3":"^5.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.28.0","devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","tslib":"^2.5.3","bunchee":"^3.3.4","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.1.3","@babel/core":"^7.22.5","@types/jest":"^29.5.2","@types/react":"^18.0.28","@jest/globals":"^29.5.0","@playwright/test":"^1.33.0","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.22.5","@babel/preset-react":"^7.22.5","react-test-renderer":"^18.2.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.22.5"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.0.0_1687216954093_0.4674250256107231","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"use-one","version":"1.1.0","author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.1.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"c1200ce1e7fc57d9bb6e3569d5c01188e7150fe1","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.1.0.tgz","fileCount":7,"integrity":"sha512-6YBdtZjSNfe1sekatIi36m7Kz1Bq3blO2BJsOsMtgDc52axA07ZLxsMmAixc0mnA/z95wM/GkQNOWQyPIsPcog==","signatures":[{"sig":"MEUCIQDUGW82rtUEIPJXeCKkhSu4ohIYamuvidKAzYcP5QE4RgIgdj3ar6wWq12rhnQM0uOGnXF80SaQ8ER7q8vgR6HBut0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15447},"main":"./dist/index.cjs","husky":{"hooks":{"pre-commit":"echo lint"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","exports":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"gitHead":"b269dc54d1b15a9fd2bd372f2266a39dcefe6d0a","scripts":{"test":"pnpm jest","build":"bunchee ./src/index.ts","test:e2e":"playwright test e2e-test","serve:example":"cd example && pnpm i && pnpm serve","start-publish":"npm run build && npm publish --access public --no-git-checks --provenance --registry=https://registry.npmjs.org","start:example":"cd example && pnpm i && pnpm start"},"_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"9.8.1","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.18.2","dependencies":{"eventemitter3":"^5.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.28.0","devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","tslib":"^2.5.3","bunchee":"^3.3.4","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.1.3","@babel/core":"^7.22.5","@types/jest":"^29.5.2","@types/react":"^18.0.28","@jest/globals":"^29.5.0","@playwright/test":"^1.33.0","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.22.5","@babel/preset-react":"^7.22.5","react-test-renderer":"^18.2.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.22.5"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.1.0_1701069005109_0.8357348008533163","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"use-one","version":"1.1.1","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.1.1","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"8d7bda9d7f3ec494f8c162cef17531c5d44865a0","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.1.1.tgz","fileCount":7,"integrity":"sha512-stncEdOWyKh04etzNM4pWVbxsFXHs2LHQjpTS9oobvXj1OFKfiGloDmnnIv+37bhkHZsESmW+f4z9Y/XFncOwA==","signatures":[{"sig":"MEQCIGUv//a6/fCX5JKgOp71KNV72upmlpejv933Zl/6OcEhAiBEzBJN5ZrGS1sQix7rKzhUGv10uGHUfObuA/o6QJOJ9g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15604},"main":"./dist/index.cjs","husky":{"hooks":{"pre-commit":"echo lint"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","exports":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"gitHead":"6d1251b72b5f84e34f095359def9322c07e8f942","scripts":{"test":"pnpm jest","build":"bunchee ./src/index.ts","test:e2e":"playwright test e2e-test","serve:example":"cd example && pnpm i && pnpm serve","start-publish":"npm run build && npm publish --access public --no-git-checks --provenance --registry=https://registry.npmjs.org","start:example":"cd example && pnpm i && pnpm start"},"_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.2.3","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.19.0","dependencies":{"eventemitter3":"^5.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.28.0","devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","tslib":"^2.5.3","bunchee":"^3.3.4","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.1.3","@babel/core":"^7.22.5","@types/jest":"^29.5.2","@types/react":"^18.0.28","@jest/globals":"^29.5.0","@playwright/test":"^1.33.0","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.22.5","@babel/preset-react":"^7.22.5","react-test-renderer":"^18.2.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.22.5"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.1.1_1702992238585_0.46550885382266327","host":"s3://npm-registry-packages"}},"1.2.0-beta.1":{"name":"use-one","version":"1.2.0-beta.1","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.2.0-beta.1","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"840c3ad7fc45e70e088935c6c0c1a9e314db5967","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.2.0-beta.1.tgz","fileCount":10,"integrity":"sha512-b0xzUSPv2qWKGRkGwsDcwftWdnKsEBdW3rGurs/7d1f0ZGjNC8SLNYuO7yKSFQu9Ckhyg+hQgThJ2156O2nhiw==","signatures":[{"sig":"MEUCIC2TViriz2C98zWUKdOIW0LXlcyvrToACbngGaZTEE40AiEA5a5lvHF2jtdMDMGhtNZt7FrLibIHFFc7GlLG/J6omKU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.2.0-beta.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19789},"main":"./dist/index.cjs","husky":{"hooks":{"pre-commit":"echo lint"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","exports":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs","react-server":"./lib/create.server.js"},"gitHead":"e2f16c0992788b32286831d16c2eebe18ca3a7cd","scripts":{"test":"pnpm jest","build":"bunchee ./src/index.ts && npm run build:lib","test:e2e":"playwright test e2e-test","build:lib":"rm -rf lib && tsc --project tsconfig.build.json","serve:example":"cd example && pnpm i && pnpm serve","start-publish":"npm run build && npm publish --access public --no-git-checks --provenance --registry=https://registry.npmjs.org","start:example":"cd example && pnpm i && pnpm start"},"_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.2.4","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.19.1","dependencies":{"server-only":"^0.0.1","eventemitter3":"^5.0.0"},"react-server":"./lib/create.server.js","_hasShrinkwrap":false,"packageManager":"pnpm@7.28.0","devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","immer":"^10.0.3","react":"^18.2.0","tslib":"^2.5.3","bunchee":"^3.3.4","cheerio":"^1.0.0-rc.12","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.1.3","@babel/core":"^7.22.5","@types/jest":"^29.5.2","@types/react":"^18.0.28","@jest/globals":"^29.5.0","@playwright/test":"^1.33.0","@types/react-dom":"^18.0.11","isomorphic-fetch":"^3.0.0","@babel/preset-env":"^7.22.5","@babel/preset-react":"^7.22.5","react-test-renderer":"^18.2.0","@tsconfig/recommended":"^1.0.3","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.22.5"},"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.2.0-beta.1_1708562433631_0.584908331363025","host":"s3://npm-registry-packages"}},"1.3.0-beta.1":{"name":"use-one","version":"1.3.0-beta.1","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.3.0-beta.1","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"d1b59890490a41254f6dff177111990d26590a5d","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.3.0-beta.1.tgz","fileCount":19,"integrity":"sha512-lvhllxgfzK8MuF5G0VYKQuICmot+YTWu8d+XJx3OQgIfuocoDRLoafu3T0GdNoXt4PUt8M86LCUNZ6MCuqaO1w==","signatures":[{"sig":"MEYCIQDZndFQRXbGhvEoyDRf4cPX8a5rGtTmJinOHPnYQEbjWQIhAPNVLpyp8OydJ9fmz2eaTYzpEq7d+mtlO0/CQosCU2Vc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.3.0-beta.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":41932},"main":"./dist/index.cjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs","react-server":"./lib/create.server.js"},"./persist":{"types":"./persist/index.d.ts","import":"./persist/index.mjs","module":"./persist/index.esm.js","require":"./persist/index.cjs"},"./persist/cache":{"types":"./persist/cache/index.d.ts","import":"./persist/cache/index.mjs","module":"./persist/cache/index.esm.js","require":"./persist/cache/index.cjs","react-native":"./persist/cache/rn.js"}},"gitHead":"bff3cd6b5f74e4188be8f4b207dcebd197e1f111","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.5.0","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.2","dependencies":{"server-only":"^0.0.1","eventemitter3":"^5.0.0"},"react-server":"./lib/create.server.js","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.3.0-beta.1_1713520574524_0.4965880336116184","host":"s3://npm-registry-packages"}},"1.3.0-beta.2":{"name":"use-one","version":"1.3.0-beta.2","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.3.0-beta.2","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"3c794acb94aa6eaadb658642324263c58092e024","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.3.0-beta.2.tgz","fileCount":19,"integrity":"sha512-QHuhiYGMm+UvIiWcXCbBQQyLDZ2PVNswLKnMaUxv0MV/2eXTT404rdCA9ZQrWR6FwBzT3V6wzpihYYiQV+P5PQ==","signatures":[{"sig":"MEUCIQDPDbdSaLnXGoOskxkB/0KIX/Dw4U/r+0d5jYTdJ28R4AIgahJxap2kBSbPZ20tuOUMUqXuFxGzwUg6AjC70nS5LPc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.3.0-beta.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":41937},"main":"./dist/index.cjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs","react-server":"./lib/create.server.js"},"./persist":{"types":"./persist/index.d.ts","import":"./persist/index.mjs","module":"./persist/index.esm.js","require":"./persist/index.cjs"},"./persist/cache":{"types":"./persist/cache/index.d.ts","import":"./persist/cache/index.mjs","module":"./persist/cache/index.esm.js","require":"./persist/cache/index.cjs","react-native":"./persist/cache/rn.js"}},"gitHead":"42d965358abc1032bbaa7d0bb08ba53c74b68343","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.5.0","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.2","dependencies":{"server-only":"^0.0.1","eventemitter3":"^5.0.0"},"react-server":"./lib/create.server.js","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.3.0-beta.2_1713521200840_0.28411635686506287","host":"s3://npm-registry-packages"}},"1.3.0-beta.3":{"name":"use-one","version":"1.3.0-beta.3","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.3.0-beta.3","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"a6240ceac130d050dc0601f734b331db81b64bdc","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.3.0-beta.3.tgz","fileCount":19,"integrity":"sha512-t2Qr9GBG87XIAU6deQTa2vEjL+j6ehDi7G8wW4MFzcWqJEafkRZ8LZNHhPzbNRMWsl1tlWzdLmVFJE0WTecC/w==","signatures":[{"sig":"MEYCIQDZM5qmQQI+7boiBYcGAjtKQZ3rvG4zZvD/e0PTA/antQIhAJfTjMHoAoPCaNQujkK/R8vdL9smXTLAJTL7JEPO9UA2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.3.0-beta.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":42616},"main":"./dist/index.cjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs","react-server":"./lib/create.server.js"},"./persist":{"types":"./persist/index.d.ts","import":"./persist/index.mjs","module":"./persist/index.esm.js","require":"./persist/index.cjs"},"./persist/cache":{"types":"./persist/cache/index.d.ts","import":"./persist/cache/index.mjs","module":"./persist/cache/index.esm.js","require":"./persist/cache/index.cjs","react-native":"./persist/cache/rn.js"}},"gitHead":"f338683157483450105166b85d68f5e89767f830","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.5.0","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.2","dependencies":{"server-only":"^0.0.1","eventemitter3":"^5.0.0"},"react-server":"./lib/create.server.js","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.3.0-beta.3_1713522591416_0.05091202545979412","host":"s3://npm-registry-packages"}},"1.4.0-beta.0":{"name":"use-one","version":"1.4.0-beta.0","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.4.0-beta.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"8dedee74928bf0e0764140a71c563d1ab2495e89","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.4.0-beta.0.tgz","fileCount":10,"integrity":"sha512-q/7XV6fvR7ql21Vk5VNmMJoqYWBNBsZGlmcyXR3M2IClcuw/llfRpbFR9qcKdVBUZ7s9KZfXO/hTVTCgvOXoHA==","signatures":[{"sig":"MEUCID+u79rJxlVpAEcdvQpNBFRkB1bhKaB/Ohj18c5xI7EOAiEAxgiWBESedg1JR/ZhMebvmr5fnDtMEtMrXT44m4KWwQs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.4.0-beta.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":64490},"main":"./dist/index.cjs","types":"./dist/types/index.d.ts","exports":{"default":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"6538d8cdfe73ebd251b24841c28be1677caa6a46","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.5.0","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.2","dependencies":{"server-only":"^0.0.1","eventemitter3":"^5.0.0"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.4.0-beta.0_1713528832856_0.6041261252529613","host":"s3://npm-registry-packages"}},"1.4.0-beta.1":{"name":"use-one","version":"1.4.0-beta.1","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.4.0-beta.1","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"1117d30550b0616f62d0e6fadc08812ee0b2608a","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.4.0-beta.1.tgz","fileCount":10,"integrity":"sha512-u8AklHynazqF+41ZpQ2kF2xd/BAz/sHrMVE7aUfsh5sjJkFQjfX+IytKL4x99mOPoCuDI3ZoR1dFuZAZxhQqcw==","signatures":[{"sig":"MEYCIQCTEZOp2UeGKuSGOdB5YtkX4r7Bo7bUw4v7Fi4TVt9ChgIhAKAQPiRP5ZeA5IvnjGPKJaR+0a7jGcG6zGF6/PU6zOm1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.4.0-beta.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":65018},"main":"./dist/index.cjs","types":"./dist/types/index.d.ts","exports":{"default":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"05ebd5bcc9845c90efde5eed296806ef9a009373","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.5.0","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.2","dependencies":{"server-only":"^0.0.1","eventemitter3":"^5.0.0"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.4.0-beta.1_1713673311939_0.6791941110308213","host":"s3://npm-registry-packages"}},"1.4.0-beta.2":{"name":"use-one","version":"1.4.0-beta.2","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.4.0-beta.2","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"16c14e5cca94e6d945e3b7f5220b7e2e6b969eb6","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.4.0-beta.2.tgz","fileCount":10,"integrity":"sha512-6mA+NjAvMRMX+H6uBEUSnnAh/6p2h5eOcNbsFc2oh+ZWyTUwo8oPf4yVHFTmqjle1Q+43J6CSwKyNxI1EyyJ+g==","signatures":[{"sig":"MEYCIQCcO72T8oiO5WVofVIfXYjTiREm4xWPw9sUG8NMxNowjgIhAIuhOHypfm5PucSFYV6Qdh5N1Ecw4gkmyC4ax/eZKuRJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.4.0-beta.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33380},"main":"./dist/index.cjs","types":"./dist/types/index.d.ts","exports":{"default":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"98679d5e31c6d0af14bf9a53440b95ac1f9d500e","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.5.0","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.2","dependencies":{"server-only":"^0.0.1"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.4.0-beta.2_1713692480970_0.9547659671559205","host":"s3://npm-registry-packages"}},"1.4.0-beta.3":{"name":"use-one","version":"1.4.0-beta.3","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.4.0-beta.3","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"b3bc4e40e8bcb6669bcaf3bdf10b2885c75ee6ea","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.4.0-beta.3.tgz","fileCount":10,"integrity":"sha512-BF1faa1El9NzSPVhbV4wxfmCFUe0rMgdqruk3DR/KwrahbylHFRK+gnXSt130OAwnE22rAnaADMIKXPGRO1CAw==","signatures":[{"sig":"MEQCIBOHyME1RzDOvcqmi89aYMzRGsRdvPffIbkI+pRo8F9CAiBw1hmV6WA6ZUXAXH7ofMoUAGUgbGx8qnCvcc/t/hqQyQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.4.0-beta.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":94650},"main":"./dist/index.cjs","types":"./dist/types/index.d.ts","exports":{"default":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"afaffec1c7b6de42dffb91f4fc916cf43d4f9610","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.5.0","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.2","dependencies":{"server-only":"^0.0.1"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.4.0-beta.3_1713763898255_0.08165800384897093","host":"s3://npm-registry-packages"}},"1.4.0-beta.4":{"name":"use-one","version":"1.4.0-beta.4","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.4.0-beta.4","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"b3400def2551a7db62608259ec7b67012d8e70f9","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.4.0-beta.4.tgz","fileCount":10,"integrity":"sha512-J6WZDIZBVSyIrnpkuRUlsccHkI1+Ww7P6KWD02ZP+x49HYpZEXB2P82SEzE9quDPoYs6D6A028zDO9KfwkhHDg==","signatures":[{"sig":"MEUCIQCgyqXENpAt9qOHXmssLSn3NumpMm12qOEKysJ9oFqGUwIgZiiACbjp47xteAdtMiJvYlw/cfYgB8dWgH7/XMfgwjE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.4.0-beta.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":96032},"main":"./dist/index.cjs","types":"./dist/types/index.d.ts","exports":{"default":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"c66df3b712059f3957823fe6e3970634ec319000","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.5.0","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.2","dependencies":{"server-only":"^0.0.1"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.4.0-beta.4_1713767831922_0.5457119086037119","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"use-one","version":"1.4.0","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.4.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"330bce49e489109f66b3e94104fa6911b2c8c74c","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.4.0.tgz","fileCount":10,"integrity":"sha512-557R3LD4PtMm8pxt0UlMgrG68EwHDrvrXYrnL+lia6VkCJLCx8i9EkJixLAnOOZwT5rIRVwu91ZW6sSHzWOZrA==","signatures":[{"sig":"MEQCIAwrgtns72FOU8Xo2TjeFQC+cz8O2HRiYQaJ7B3lq2Q0AiAHB3dkg78ltx5CDo9hQ6JLIsL76iW2oVqquAb3aGnssA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":96025},"main":"./dist/index.cjs","types":"./dist/types/index.d.ts","exports":{"default":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"5a55aed59fe4f287729e5e04e4d30b2d5a7caa23","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.5.0","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.2","dependencies":{"server-only":"^0.0.1"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.4.0_1713780314381_0.06026062650605524","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"use-one","version":"1.4.1","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.4.1","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"1248b9a190dec203f4d3436a5de14fd55f4b4a8b","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.4.1.tgz","fileCount":10,"integrity":"sha512-2Tm2SJymOhQVVW/iSOTQ+0GeD5TNyfpKKnTcchHXqxjJE4RB+Be5lbS/W5FZ1Ll9f/aAOjiZLCdZspIw/uWptQ==","signatures":[{"sig":"MEQCICqYA2BzxaHi0Y2hLdzyuQawxD3NCI+3Z/nKduG2Ljj9AiBJrHSC3GVwvhoRsO6PTHhOjEmfIfmAWYqUIZv5U7ZqDA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":96933},"main":"./dist/index.cjs","types":"./dist/types/index.d.ts","exports":{"default":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"35323999a339ca10840fd62b0264311e115c5e03","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.5.0","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.2","dependencies":{"server-only":"^0.0.1"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.4.1_1713840720309_0.685161229380802","host":"s3://npm-registry-packages"}},"1.4.2":{"name":"use-one","version":"1.4.2","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.4.2","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"b0b71346c27d10ac452ebe2711e8b1375f84a4a6","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.4.2.tgz","fileCount":14,"integrity":"sha512-/7GkYl4aiZPceNQ8WUYD1MOMMbPNBcqPEaqSFsT0lXpXi1iMXfB2pJ3Q/FQte3xfLm/xZK4YxiCM6JrRW38VEQ==","signatures":[{"sig":"MEQCIEVS/Z4aQILYw631a34V9/ieNB934kp+OvIawAgI1nGdAiBsE4Hhn2tZvx65WuQwAGiNjpkZLWnkGv/ig17LyewPyw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":90026},"main":"./dist/index.cjs","types":"./dist/types/index.d.ts","exports":{"default":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"4b6a16e766fce7e3a974f4bb6d13812539bf0ced","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.5.0","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.2","dependencies":{"server-only":"^0.0.1"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.4.2_1714013671135_0.6408161121891793","host":"s3://npm-registry-packages"}},"1.4.3":{"name":"use-one","version":"1.4.3","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.4.3","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"11772554c2a0b2e5c4cdd7132a6165942f82ab67","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.4.3.tgz","fileCount":10,"integrity":"sha512-GyDKYqljiKV4tVPQk3ti50KnL0N/JLnYms7cJAEgYUP9ToOxhqIaA7fkMxXA2zA1jAIdNrwhsR6TuFqqHijEVw==","signatures":[{"sig":"MEYCIQC+OlP4+k0JwGi9RNnJjh8V43Gm9D3kendNMEP8WSVwWAIhAN/wZjxF/2V+H3YM9oUSKSAEqidsP4Jwzq1mSOpXbc2f","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.4.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":98302},"main":"./dist/index.cjs","types":"./dist/types/index.d.ts","exports":{"default":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"40cbbd030edb07d10e027cacc2fce77eb0f1496c","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.5.0","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.2","dependencies":{"server-only":"^0.0.1"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.4.3_1714031589974_0.6926905134993915","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"use-one","version":"1.5.0","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.5.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"02e4a2baca8c1971512fc0372af6eee770223c9c","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.5.0.tgz","fileCount":9,"integrity":"sha512-viWS+sF4wBjHP//GA3Nh9b9MruP/x1VBeLP1mebbWa3WG6tmm8Kj+kOVljnJCCc8VODf7d8eGyi+s4qf1lDldA==","signatures":[{"sig":"MEUCIQCNHFntSgC6d4g4d2qEZAJHSv6Uru5vQVJZJOnmaGPXXAIgNd+t34yMYWaSU8Q8Q2O7E+E4VL3zjzPbtI9/TsUuv+w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28962},"main":"./dist/index.cjs","types":"./dist/types/index.d.ts","exports":{"default":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"aad76a27f482b53b1751221244e7383b8fbad68b","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.8.2","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.6","dependencies":{"server-only":"^0.0.1"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.5.0_1738155383444_0.656486098728946","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"use-one","version":"1.5.1","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.5.1","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"3522ccd2eb02ba20c6e7d01d2cb685d9dcf1516f","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.5.1.tgz","fileCount":9,"integrity":"sha512-2SifYf3AckBHO/hiqJKxbo7MnyvCLFDNQyOa72ufkMGiSeTF3B1kEy9/eaYlloMv8BynsxtR2Z8NWs2o5GZSLw==","signatures":[{"sig":"MEUCIEQdq0XO+0s9Re5/aJxxYpaq9YNOiCrScHw1vaqglniTAiEAxwSM6ZMNPn+WdqfQq0wx92B+xF/2R4e626TWXOfclTA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":29060},"main":"./dist/index.cjs","types":"./dist/types/index.d.ts","exports":{"default":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"fd7d6b9443e3cec62299328c13cb088b0de14863","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.8.2","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.6","dependencies":{"server-only":"^0.0.1"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.5.1_1738156854089_0.10259543938620252","host":"s3://npm-registry-packages-npm-production"}},"1.5.2":{"name":"use-one","version":"1.5.2","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.5.2","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"240c5ef05874241040cd66c0e5407456025e4389","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.5.2.tgz","fileCount":9,"integrity":"sha512-Qm2U6TyxOj0Thnu3+Y+ABf8Wxu1jkt7YwdzDN7DIla7RrHEpMg+mFhv9ZyesgcrKiwxuFsVwJXmnpl+4F3Saww==","signatures":[{"sig":"MEUCIQD95uCgau1E0bVh6FMJre7W++6w5wNsWDIfMc7U/rQx9AIgdC5cUkBh5SUXrp+9u/sl9vWxsh10tP8dyFeLryQHKE8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.5.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30616},"main":"./dist/index.cjs","types":"./dist/types/index.d.ts","exports":{"default":{"types":"./dist/types/index.d.ts","import":"./dist/index.mjs","module":"./dist/index.esm.js","require":"./dist/index.cjs"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"ce7a69bad60ee91375461bc2b2c8d9e340e7327a","require":"./dist/index.cjs","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.8.2","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.6","dependencies":{"server-only":"^0.0.1"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.5.2_1738767398874_0.43330811323700336","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"use-one","version":"1.6.0","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@1.6.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"54dff9d4709149685452b3fbe91945f62efdf210","tarball":"https://registry.npmjs.org/use-one/-/use-one-1.6.0.tgz","fileCount":23,"integrity":"sha512-fBaIoLYL2dh6JnsvIeV1DMM/fPAWe/Q4HJ1n9iKXsh8ac/WduUlgOIjft3hqIkPhNanFdtgRtvAzZVOQprsBww==","signatures":[{"sig":"MEMCIEzyk2Ya5lCAnGZOeBU3QTVVo0a/pWyz+yaMuqOaodYUAh8vg5vKFdVXp+FahejTDqQlJmEbq0M6djJ20rL7zTtp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@1.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":36817},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"default":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"2deecb21edbbe2abc6ad3fa753467ec1655c5767","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.8.2","description":"[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml) [![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.np","directories":{},"_nodeVersion":"18.20.7","dependencies":{"server-only":"^0.0.1"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16"},"peerDependenciesMeta":{"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/use-one_1.6.0_1741777393905_0.2010854926761212","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.0":{"name":"use-one","version":"2.0.0-alpha.0","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@2.0.0-alpha.0","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"d98f2f975480331319fc16d6b47614e2c109610b","tarball":"https://registry.npmjs.org/use-one/-/use-one-2.0.0-alpha.0.tgz","fileCount":23,"integrity":"sha512-pc+o/8LXwuK/89o2iDHtj3kR4OSgxonFlywUcijA/jckhqb/rbznOQkneJgPCY/PZhZuSxr/BZ3rfZlAyEP2dw==","signatures":[{"sig":"MEUCIBxAySNr13w6JTpzWLXnsB267HWwAPfXZOrcpD4OY0+TAiEA9Ti9q0Gu9iOeFPka2kBZXg9TRuIJjUhc9Z2dt5/fQ1o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@2.0.0-alpha.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35525},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"default":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"91a381387a2ab38ed4448f1c4792f17a4793264f","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.8.2","description":"Use-one.js: A simple state management lib for React.js","directories":{},"_nodeVersion":"18.20.7","dependencies":{"server-only":"^0.0.1"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16","@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"react":{"optional":true},"server-only":{"optional":true},"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/use-one_2.0.0-alpha.0_1742182173931_0.39972492630422174","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.1":{"name":"use-one","version":"2.0.0-alpha.1","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"author":{"name":"@suhaotian"},"license":"MIT","_id":"use-one@2.0.0-alpha.1","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"homepage":"https://github.com/suhaotian/use-one","bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"dist":{"shasum":"bd4f3c858aeb9e9c4bb0514c7357f5a06eb5ca26","tarball":"https://registry.npmjs.org/use-one/-/use-one-2.0.0-alpha.1.tgz","fileCount":23,"integrity":"sha512-BdzvtSmkls7g+s0vVpF/xWavsqIs4psdD5eMHf317vg/P7u04L/jWa5xQe5opeqkcaUUSvlN3+wLpI8YIY4+mQ==","signatures":[{"sig":"MEUCIQDTaFZzSfgGzv0+3zOi79sWvwMP0YXgJooy7/HVvlTyowIgNxwRKtGLXyC9ZR6Gk86GtMQ61CHx5Vyut7yNyERdflI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@2.0.0-alpha.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35676},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"default":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs"},"gitHead":"f55ddf9d6e90e756658932ab22e8985f992bafd3","_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"repository":{"url":"git+https://github.com/suhaotian/use-one.git","type":"git"},"_npmVersion":"10.8.2","description":"Use-one.js: A simple state management lib for React.js","directories":{},"_nodeVersion":"18.20.8","dependencies":{"server-only":"^0.0.1"},"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","_hasShrinkwrap":false,"peerDependencies":{"react":">=16","@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"react":{"optional":true},"server-only":{"optional":true},"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/use-one_2.0.0-alpha.1_1743521043351_0.7883129274226428","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.2":{"name":"use-one","version":"2.0.0-alpha.2","react-server":"./dist/index.react-server.mjs","react-native":"./dist/index.react-native.mjs","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{"react-native":"./dist/index.react-native.mjs","react-server":"./dist/index.react-server.mjs","default":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"dependencies":{"server-only":"^0.0.1"},"peerDependencies":{"react":">=16","@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"react":{"optional":true},"server-only":{"optional":true},"@react-native-async-storage/async-storage":{"optional":true}},"repository":{"type":"git","url":"git+https://github.com/suhaotian/use-one.git"},"author":{"name":"@suhaotian"},"bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"homepage":"https://github.com/suhaotian/use-one","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"license":"MIT","_id":"use-one@2.0.0-alpha.2","gitHead":"ff4daca21da4f95b24d92e59b7413cea195e4fa0","description":"Use-one.js: A simple state management lib for React.js","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-YpS5ZqOTgAOFPIU/RHISH3y/gmw3PBVnzPKmORnWkS9mm7P9TPkUn38AQs8J8ZrtEkJH8oVWqdm7SBUJxFkidw==","shasum":"96bd21a2f184158501cd42d9c121d113f7a17e8b","tarball":"https://registry.npmjs.org/use-one/-/use-one-2.0.0-alpha.2.tgz","fileCount":23,"unpackedSize":37279,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/use-one@2.0.0-alpha.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDuGfF658FmxJ7ydhdkx7ZJRsO+LbwvOasC3c16SF52WQIhAPXXbo4kejyU4fayZuslgVLnDwo8XndEU3HDxy/YRgHB"}]},"_npmUser":{"name":"suhaotian","email":"h4av.one@gmail.com"},"directories":{},"maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/use-one_2.0.0-alpha.2_1759877836864_0.024707156587229218"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-20T14:16:40.496Z","modified":"2025-10-07T22:57:17.454Z","0.1.0":"2020-08-20T14:16:40.643Z","0.2.0":"2020-08-20T17:35:22.342Z","0.3.0":"2020-08-20T17:43:03.135Z","0.3.1":"2020-08-21T12:35:22.401Z","0.4.0":"2020-08-22T04:46:58.188Z","0.5.0":"2020-08-22T04:58:22.595Z","0.6.0":"2020-08-22T05:09:57.197Z","0.6.1":"2020-08-22T05:28:32.644Z","0.7.0":"2020-08-22T15:13:56.320Z","0.8.0":"2020-08-22T16:56:14.086Z","0.8.1":"2020-08-24T07:10:00.469Z","0.8.2":"2020-08-25T04:36:12.088Z","0.9.0":"2020-08-26T14:08:00.519Z","0.9.1":"2020-09-03T15:05:07.884Z","0.9.2":"2020-09-08T14:09:11.367Z","0.9.3":"2020-09-12T15:28:26.232Z","0.9.4":"2020-12-19T16:53:25.462Z","0.9.5":"2020-12-19T16:55:44.328Z","0.9.6":"2021-10-17T10:58:48.465Z","0.9.7":"2021-10-17T11:01:10.802Z","0.10.1-beta.0":"2022-12-31T18:01:08.844Z","0.10.1-beta.1":"2023-01-03T14:45:03.006Z","1.0.0-beta.0":"2023-01-03T15:06:03.516Z","1.0.0-beta.1":"2023-02-27T12:38:12.221Z","1.0.0-beta.2":"2023-03-15T12:27:43.117Z","1.0.0-beta.3":"2023-04-16T14:46:08.305Z","1.0.0":"2023-06-19T23:22:34.390Z","1.1.0":"2023-11-27T07:10:05.427Z","1.1.1":"2023-12-19T13:23:58.749Z","1.2.0-beta.1":"2024-02-22T00:40:33.769Z","1.3.0-beta.1":"2024-04-19T09:56:14.679Z","1.3.0-beta.2":"2024-04-19T10:06:41.035Z","1.3.0-beta.3":"2024-04-19T10:29:51.591Z","1.4.0-beta.0":"2024-04-19T12:13:53.055Z","1.4.0-beta.1":"2024-04-21T04:21:52.099Z","1.4.0-beta.2":"2024-04-21T09:41:21.117Z","1.4.0-beta.3":"2024-04-22T05:31:38.417Z","1.4.0-beta.4":"2024-04-22T06:37:12.089Z","1.4.0":"2024-04-22T10:05:14.567Z","1.4.1":"2024-04-23T02:52:00.454Z","1.4.2":"2024-04-25T02:54:31.295Z","1.4.3":"2024-04-25T07:53:10.110Z","1.5.0":"2025-01-29T12:56:23.656Z","1.5.1":"2025-01-29T13:20:54.241Z","1.5.2":"2025-02-05T14:56:39.067Z","1.6.0":"2025-03-12T11:03:14.083Z","2.0.0-alpha.0":"2025-03-17T03:29:34.121Z","2.0.0-alpha.1":"2025-04-01T15:24:03.538Z","2.0.0-alpha.2":"2025-10-07T22:57:17.044Z"},"bugs":{"url":"https://github.com/suhaotian/use-one/issues"},"author":{"name":"@suhaotian"},"license":"MIT","homepage":"https://github.com/suhaotian/use-one","keywords":["state","management","manager","store","react","reactjs","hooks","react-hooks","typescript","react-native","expo","localStorage","AsyncStorage"],"repository":{"type":"git","url":"git+https://github.com/suhaotian/use-one.git"},"description":"Use-one.js: A simple state management lib for React.js","maintainers":[{"name":"suhaotian","email":"h4av.one@gmail.com"}],"readme":"# Use-one.js\n\nUse-one.js: A simple state management lib for React.js\n\n[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml)\n[![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.npmjs.com/package/use-one)\n<a href=\"https://pkg-size.dev/use-one\"><img src=\"https://pkg-size.dev/badge/install/29671\" title=\"Install size for use-one\"></a>\n<a href=\"https://pkg-size.dev/use-one\"><img src=\"https://pkg-size.dev/badge/bundle/3173\" title=\"Bundle size for use-one\"></a>\n<a href=\"https://bundlephobia.com/package/use-one@latest\"><img src=\"https://badgen.net/bundlephobia/minzip/use-one\" /></a>\n![license](https://badgen.net/npm/license/use-one?color=green)\n\n# Introduction\n\n[`use-one`](/) is a lightweight and simple state management library for React.js.\n\n**Features**\n\n- Simple hook-based API with no complex concepts\n- Easy state sharing across components\n- Built-in persistence capabilities for stores and hook states\n- Minimal size (gzip ~2KB)\n- Written in TypeScript with full type safety\n\n# Table of Contents\n\n- [Use-one.js](#use-onejs)\n- [Introduction](#introduction)\n- [Table of Contents](#table-of-contents)\n  - [Installation](#installation)\n  - [Usage](#usage)\n    - [Basic Example](#basic-example)\n    - [Using Immer](#using-immer)\n    - [Persisting Store State](#persisting-store-state)\n    - [Persistence in SSR Applications](#persistence-in-ssr-applications)\n    - [Persisting Hook State](#persisting-hook-state)\n    - [Advanced TypeScript Usage](#advanced-typescript-usage)\n  - [API Reference](#api-reference)\n    - [`create<Type>(initialState, options?)`](#createtypeinitialstate-options)\n  - [Code Generation](#code-generation)\n\n## Installation\n\n**npm**\n\n```bash\nnpm install use-one --save\n```\n\n**pnpm**\n\n```bash\npnpm install use-one\n```\n\n## Usage\n\n### Basic Example\n\n```ts\n// stores/count.ts\nimport { create } from 'use-one';\n\nconst initialState = { count: 0 };\nexport const [use, store] = create(initialState);\n\nconst actions = {\n  get state() {\n    return store.getState();\n  },\n  increment() {\n    store.setState({ count: this.state.count + 1 });\n  },\n  decrement() {\n    store.setState({ count: this.state.count - 1 });\n  },\n};\n\nexport const useCount = use;\nexport const countStore = Object.assign(actions, store);\n```\n\n**Using the Store**\n\n```tsx\n// CountExample.tsx\nimport * as React from 'react';\nimport { useCount, countStore } from './stores/count';\n\nconst Counter = () => {\n  const [{ count }] = useCount();\n\n  return (\n    <div>\n      <button onClick={countStore.increment}>+1</button>\n      <span>{count}</span>\n      <button onClick={countStore.decrement}>-1</button>\n      <button\n        onClick={() => {\n          setTimeout(() => {\n            countStore.setState({\n              count: countStore.state.count + 2,\n            });\n          }, 2000);\n        }}\n      >\n        async +2\n      </button>\n    </div>\n  );\n};\n\nconst ShowCount = () => {\n  const [state] = useCount();\n  return <span>Count: {state.count}</span>;\n};\n\nexport default function App() {\n  return (\n    <>\n      <ShowCount />\n      <Counter />\n    </>\n  );\n}\n```\n\n### Using Immer\n\nIntegrate with Immer for immutable state updates:\n\n```ts\n// stores/count.ts\nimport { create } from 'use-one';\nimport { produce } from 'immer';\n\nconst initialState = { count: 0 };\nconst [use, store] = create(initialState);\n\nconst computed = {\n  get state() {\n    return store.getState();\n  },\n};\n\nconst actions = {\n  produce(cb: (state: typeof initialState) => void) {\n    store.setState(produce(cb));\n  },\n  increment() {\n    this.produce((state) => {\n      state.count++;\n    });\n  },\n  decrement() {\n    this.produce((state) => {\n      state.count--;\n    });\n  },\n};\n\nexport const useCount = use;\nexport const countStore = Object.assign(actions, computed, store);\n```\n\n### Persisting Store State\n\nFor React Native or Expo applications, install `@react-native-async-storage/async-storage` first.\n\n```ts\nimport { create, persistStore, wrapState, isClient } from 'use-one';\n\nconst initialState = wrapState({ count: 0 }); // Adds ready: false\nconst [use, store] = create(initialState);\n\nif (isClient) {\n  persistStore<typeof initialState>(store, {\n    key: '@CACHE_KEY',\n    debounce: 100, // Optional, defaults to 100ms\n    transform: (state) => state, // Optional state transformer\n    encode: (state) => JSON.stringify(state), // Optional\n    decode: (state) => JSON.Parse(state), // Optional\n  });\n}\n\nconst actions = {\n  get state() {\n    return store.getState();\n  },\n  increment() {\n    store.setState({ count: this.state.count + 1 });\n  },\n  decrement() {\n    store.setState({ count: this.state.count - 1 });\n  },\n};\n\nexport const useCount = use;\nexport const countStore = Object.assign(actions, store);\n```\n\n### Persistence in SSR Applications\n\nTo prevent hydration errors in SSR applications (Next.js, Remix, etc.):\n\n```ts\n// store.ts\nimport { create, persistStore, wrapState, onPersistReady } from 'use-one';\n\nconst initialState = wrapState({ count: 0 });\nconst [use, store] = create(initialState);\n\nonPersistReady(() => {\n  persistStore<typeof initialState>(store, {\n    key: '@CACHE_KEY',\n    debounce: 100,\n    transform: (state) => state,\n    encode: (state) => JSON.stringify(state), // Optional\n    decode: (state) => JSON.Parse(state), // Optional\n  });\n});\n\nconst actions = {\n  get state() {\n    return store.getState();\n  },\n  increment() {\n    store.setState({ count: this.state.count + 1 });\n  },\n  decrement() {\n    store.setState({ count: this.state.count - 1 });\n  },\n};\n\nexport const useCount = use;\nexport const countStore = Object.assign(actions, store);\n```\n\n```tsx\n// layout.tsx\nimport { Provider as PersistProvider } from 'use-one';\n\nexport default function Layout({ children }: { children: React.ReactNode }) {\n  return <PersistProvider>{children}</PersistProvider>;\n}\n```\n\n### Persisting Hook State\n\nPersist any hook's state independently of stores:\n\n```tsx\nimport { useState } from 'react';\nimport { usePersist } from 'use-one';\n\nexport function Counter() {\n  const [count, setCount] = useState(0);\n  const [isReady, clean] = usePersist<typeof count>({\n    key: '@count-store-key',\n    getState: () => count,\n    setState: setCount,\n  });\n\n  if (!isReady) return <div>Loading...</div>;\n\n  return (\n    <div>\n      <h1>{count}</h1>\n      <button onClick={() => setCount(count + 1)}>+1</button>\n      <button onClick={() => setCount(count - 1)}>-1</button>\n      <button onClick={clean}>Clear Cache</button>\n    </div>\n  );\n}\n```\n\n### Advanced TypeScript Usage\n\nPrevent property conflicts using `StrictPropertyCheck`:\n\n```ts\nimport { create, type StrictPropertyCheck } from 'use-one';\n\nconst initialState = { count: 0 };\nconst [use, store] = create(initialState);\n\nconst _actions = {\n  get state() {\n    return store.getState();\n  },\n  increment() {\n    store.setState({ count: this.state.count + 1 });\n  },\n  decrement() {\n    store.setState({ count: this.state.count - 1 });\n  },\n};\n\nconst actions: StrictPropertyCheck<typeof _actions> = _actions;\n\nexport const useCount = use;\nexport const countStore = Object.assign(actions, store);\n```\n\n## API Reference\n\n### `create<Type>(initialState, options?)`\n\nCreates a new store with the following options:\n\n- `useEffect`: Boolean (default: true) - Uses `useEffect` when true, `useLayoutEffect` when false\n- `name`: String - Optional name for the store\n\nReturns `[useHook, store]` where `store` provides:\n\n- `getState()`: Get current state\n- `setState(newState)`: Update state\n- `forceUpdate()`: Force component updates\n- `subscribe(cb: (state) => void)`: Subscribe to state changes\n- `syncState(newState)`: Update state without triggering updates\n- `destroy()`: Clean up store resources\n\n## Code Generation\n\nVisit [use-one-templates](https://github.com/suhaotian/use-one-templates) for boilerplate code generation tools, especially useful for managing multiple stores in larger applications.\n","readmeFilename":"README.md"}