{"_id":"@ajeamme/use-message-state","_rev":"3-9dd087cfb09a1fa1a39e3bc39504c816","name":"@ajeamme/use-message-state","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@ajeamme/use-message-state","version":"1.0.0","description":"Made with create-react-library","author":{"name":"anthonyjeamme"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ajeamme/use-message-state.git"},"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.tsx","private":false,"engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress --format modern,cjs","start":"microbundle-crl watch --no-compress --format modern,cjs","prepare":"run-s build","test":"run-s test:unit test:lint test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && npm install && npm run build","deploy":"gh-pages -d example/build"},"peerDependencies":{"react":"^16.0.0"},"devDependencies":{"@testing-library/jest-dom":"^4.2.4","@testing-library/react":"^9.5.0","@testing-library/user-event":"^7.2.1","@types/jest":"^25.1.4","@types/node":"^12.12.38","@types/react":"^16.9.27","@types/react-dom":"^16.9.7","@typescript-eslint/eslint-plugin":"^2.26.0","@typescript-eslint/parser":"^2.26.0","microbundle-crl":"^0.13.10","babel-eslint":"^10.0.3","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^2.2.0","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"^3.4.1","typescript":"^3.7.5","@types/uniqid":"^5.3.1"},"dependencies":{"uniqid":"^5.4.0"},"gitHead":"97ea27aa5a549b0758df3f38dcf6e0421b3352de","bugs":{"url":"https://github.com/ajeamme/use-message-state/issues"},"homepage":"https://github.com/ajeamme/use-message-state#readme","_id":"@ajeamme/use-message-state@1.0.0","_nodeVersion":"14.17.4","_npmVersion":"6.13.7","dist":{"integrity":"sha512-oX7hU3+hQR6o6ENF5fC/invxJzBfqT4cvqKq3l6YhN63cizKugbvz1m0KChgNIWLoJ4M7EBiXSCxWldE+0yiwg==","shasum":"5d652f3d80d3f0103f496ca41b2bedbcc78eeaf0","tarball":"https://registry.npmjs.org/@ajeamme/use-message-state/-/use-message-state-1.0.0.tgz","fileCount":9,"unpackedSize":11865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsG4iCRA9TVsSAnZWagAARoMP/0EHegctAjXLH1ASv4a8\nurrzNfenCXewd+IcJvx/1TSBffg2vD3ScqO6LUvtmWMOtfhXzJMarqA76wNn\nhel0e1IPDJEWWSh+OHVMn0+AWvh0hnGqKtjp4C96smI1e6K5FNTNNcSX0nQo\nFso30JWEIHOP/Y8TPkzekSEofjnDipLj+lZrr1Mk3l6716S0l90RGQKbvcY0\naRwY8mNnD3pMHKu0InMFxYGWiUbNUgQZKbFZyEZ6h5bq9td4GjKrByIiUfF0\nPaRT+5W+Np+j8AyUmm9V79/etDKtMYgw+n/PmI5owwjMSGz/IDFbVIQXYUXw\nrknOzv/VeEVXgIm0L9h3ZXH1nRJcIdgzMEpGKRe73kzNcU7sCP/bgDClY2x+\nyxW/qeBACnAl6WjOd7XGMuinV3L/c9trpQdG5gHgUXKQHGwcuVE+VNo8K9rg\nreDbjehqQmPTr/JK+/rAjYHxpjXlRHOJDB+UOrSVAHCaiJpKzZidFbIw+c2z\nHOUTAshxiDwuwkyula/xLKXviZX4wbgFFe+XVOQWCQManYQTKV99TZQlrP5c\nt6o109vTyMEnbXD70EgE110dwERVzYiq8Anz1pqVYDLUSUCK6m/sH0f6nxgD\n5CG5rcUUWaQ2szIQWbnzrJl7VWw3skKx3j61mtncLfrp5PgCVNEfajoHMCqA\nS1z3\r\n=4l+6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUXCU24F1HcCjiMGg/9x5VyI7zWq6Y3L05l4ZvcXLkBwIhAOvXJc6AiPptcde7Pd6NfKkO4ldhOwQVK3SjkCv50Qm1"}]},"_npmUser":{"name":"jinga","email":"tonyjahim+jinga@gmail.com"},"directories":{},"maintainers":[{"name":"jinga","email":"tonyjahim+jinga@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-message-state_1.0.0_1638952481959_0.22186789562550535"},"_hasShrinkwrap":false},"1.0.1":{"name":"@ajeamme/use-message-state","version":"1.0.1","description":"A React useState that synchronizes each instance (on same canal) through messages.","author":{"name":"anthonyjeamme"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ajeamme/use-message-state.git"},"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.tsx","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress --format modern,cjs","start":"microbundle-crl watch --no-compress --format modern,cjs","prepare":"run-s build","test":"run-s test:unit test:lint test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && npm install && npm run build","deploy":"gh-pages -d example/build"},"peerDependencies":{"react":"^16.0.0"},"devDependencies":{"@testing-library/jest-dom":"^4.2.4","@testing-library/react":"^9.5.0","@testing-library/user-event":"^7.2.1","@types/jest":"^25.1.4","@types/node":"^12.12.38","@types/react":"^16.9.27","@types/react-dom":"^16.9.7","@typescript-eslint/eslint-plugin":"^2.26.0","@typescript-eslint/parser":"^2.26.0","microbundle-crl":"^0.13.10","babel-eslint":"^10.0.3","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^2.2.0","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"^3.4.1","typescript":"^3.7.5","@types/uniqid":"^5.3.1"},"dependencies":{"uniqid":"^5.4.0"},"gitHead":"41b848fcc102f504d6be4cebdc16d33345603bc6","bugs":{"url":"https://github.com/ajeamme/use-message-state/issues"},"homepage":"https://github.com/ajeamme/use-message-state#readme","_id":"@ajeamme/use-message-state@1.0.1","_nodeVersion":"14.17.4","_npmVersion":"6.13.7","dist":{"integrity":"sha512-7s3fGOgHZJMetXgVfW9d0n7DIY5HaGU+dKT7xSYsyh/kddt/HQmgPbPpeRkkMyHvqkluktUUx0629rukWnQ0UA==","shasum":"f859b9a804db57d1fc7b1ba80312ab5aa7ca17ee","tarball":"https://registry.npmjs.org/@ajeamme/use-message-state/-/use-message-state-1.0.1.tgz","fileCount":9,"unpackedSize":11610,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsG86CRA9TVsSAnZWagAAOPMQAIVlwpsn8cXbdGL+AKmw\nJrP4sLy23okqHZqTBW84W8WsuY3KTBLSix2roQHUYN1G834i8mX7Y5JwZ1E3\nKbKROwUPs0setNGQ8Wqnzelb2CU41zIozhi1EzmOfl3XJOyfFu4Qqv4K785H\n3wZiyxyR2H6SFlxw+Eg8FSw3sdwUq7Z5JvOjDzfQgIlA+jHxJ1/2ylNCbGl6\nm2E01qwokIOKLG/qBuKGIcWbnVSwxnSOz076NQgC2BUtpMOAlgtUhDPXdCJY\n+If/M+rAqk6G8fq+m+7Kw2+UR6GFXAKhAVWkjw+Hvc/qSxHJjzew+Fwtzbc/\nFYGnL7GwrjOIHtO46DY0u/J/iwV0tzh1NtCY0LnjAUkxN04U5HOkbOXeRNti\na32f+D7bVb4PxuaBbTpYj0U2lCduzMPIcbQrZyypc0otZMN40rKUzHaZsb5b\ntJ3plT0duh4m8sDS52fX7qCWbrIARiCS0IG+n8h/eUBghqmSzkTv1dC5yFfe\nlnRhgGffM+GEH6IwVENC38O3h6xaAiB+mNJ5AFrEozxkm8aHVLAqQ6va4mZi\n2jkBE8xR4uRba8ZMxZGVCX4q741PxCxg76xYhpKf/KwphM6/3K4DU7PNvAOh\n5UGf0by/4Y969Rh8jPotsdOyY19fMhRkmfIAWPg34u6fSjGK2nWA7hByQGIB\nWMbU\r\n=u5yp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtcl7Xbh9BUPIEcGbqduSDW4NUzvHaWBEsu/FCyz7sCgIgULJ2i3QPiKopYLH2D/ug3h4hzG46BBirX5q8RRKQ4ys="}]},"_npmUser":{"name":"jinga","email":"tonyjahim+jinga@gmail.com"},"directories":{},"maintainers":[{"name":"jinga","email":"tonyjahim+jinga@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-message-state_1.0.1_1638952761986_0.5200144079357738"},"_hasShrinkwrap":false},"1.0.2":{"name":"@ajeamme/use-message-state","version":"1.0.2","description":"A React useState that synchronizes each instance (on same canal) through messages.","author":{"name":"anthonyjeamme"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ajeamme/use-message-state.git"},"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.tsx","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress --format modern,cjs","start":"microbundle-crl watch --no-compress --format modern,cjs","prepare":"run-s build","test":"run-s test:unit test:lint test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && npm install && npm run build","deploy":"gh-pages -d example/build"},"peerDependencies":{"react":"^16.0.0"},"devDependencies":{"@testing-library/jest-dom":"^4.2.4","@testing-library/react":"^9.5.0","@testing-library/user-event":"^7.2.1","@types/jest":"^25.1.4","@types/node":"^12.12.38","@types/react":"^16.9.27","@types/react-dom":"^16.9.7","@typescript-eslint/eslint-plugin":"^2.26.0","@typescript-eslint/parser":"^2.26.0","microbundle-crl":"^0.13.10","babel-eslint":"^10.0.3","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^2.2.0","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"^3.4.1","typescript":"^3.7.5","@types/uniqid":"^5.3.1"},"dependencies":{"uniqid":"^5.4.0"},"gitHead":"aaa3b9eb08c83dd757eeff17669ec61bbba03755","bugs":{"url":"https://github.com/ajeamme/use-message-state/issues"},"homepage":"https://github.com/ajeamme/use-message-state#readme","_id":"@ajeamme/use-message-state@1.0.2","_nodeVersion":"14.17.4","_npmVersion":"6.13.7","dist":{"integrity":"sha512-sujh7hmnm4+PFOgle2ZLBX4job5KFvpnUZdZ1quCSn4Uof8bAyzpDEpcoWEdUw8OHFwV/YJBszvs5kuAE96rRQ==","shasum":"16c2415c3221b4cc4c3d5ac0d0c320f28dcd4e7b","tarball":"https://registry.npmjs.org/@ajeamme/use-message-state/-/use-message-state-1.0.2.tgz","fileCount":9,"unpackedSize":11623,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsG+lCRA9TVsSAnZWagAAelAP+wVhaZEeJX8mvL51PlJr\n99UzylhMOw8qdaehx42zQLx8SPNzJSby7vUOA78CkfiiGTDUzDQVwGN2i0iq\n2czQzHQ5rSBs0P6+OO1L5jLGVs3PY7MogsxWDo0zeIM6VSuO++vuB8Qaz5lF\nxSPZDRZDU7RBTfCgyla2gFz5+Jyl51YAxYAfSIxZ+T6aAcN6t7sucy6DOhr1\nf6UBOGctpYSvxxTsCv0Nu72gD28m4wc1cNOj7uKZq9LBYu/yJ1RrB1htKvSe\nheMkdIRp3+EqA0mA3rSPoMjgnGpZgEEMAFdLbnh2ouhj2GaWcwA+2q5gTsJY\nhxQrJi3ntC6HgfI8JIVqpHQgXFygWqIzTqDt9pM/lm52UJJaVarmNPXIqhnR\nUqvYZcHxWdP2e516MA6OZZrb1zw0kwMkn/sEMFDwbAecnkC8RVJYmsxB/KYN\nv3zvJ9YB7T3Txuf0RrOOCHtLXgSpFx3WvC2tIaWSq7ZJn/raPIkdp3sGgE4x\nxRYUdgWxR/Xuo1Z7+Mp6/COsZlD7EzRjCLpr1n2Zu8sMYT28ZXBdV4hvsaUk\n8zPceHww1XPOPfu4VjoWj71iqh0W/Ac4wfKt2Poere3I7Ux4ajnKj2Wq+JPx\neA0w0iV3Dp7Kp6KbRhslyi5H+6ugDId9GU6abegtOVXPvQ7T6spcyfiZpqNp\nnpXC\r\n=Rf6F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEOZFc7Pof2dq08qIxKdc0yI+3+VXYLBnK28HNkg5CVDAiBDE2ThoVHHGomGKl8wv8P5VmA2usVZx6tssChLlhA6mQ=="}]},"_npmUser":{"name":"jinga","email":"tonyjahim+jinga@gmail.com"},"directories":{},"maintainers":[{"name":"jinga","email":"tonyjahim+jinga@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-message-state_1.0.2_1638952868682_0.8939151717860896"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-08T08:34:41.897Z","1.0.0":"2021-12-08T08:34:42.087Z","modified":"2022-04-04T12:26:34.783Z","1.0.1":"2021-12-08T08:39:22.152Z","1.0.2":"2021-12-08T08:41:09.022Z"},"maintainers":[{"name":"jinga","email":"tonyjahim+jinga@gmail.com"}],"description":"A React useState that synchronizes each instance (on same canal) through messages.","homepage":"https://github.com/ajeamme/use-message-state#readme","repository":{"type":"git","url":"git+https://github.com/ajeamme/use-message-state.git"},"author":{"name":"anthonyjeamme"},"bugs":{"url":"https://github.com/ajeamme/use-message-state/issues"},"license":"MIT","readme":"# Why ?\n\nI made this library to helps when creating React application embedded in non-React pages.\n\nSome state need to be connected when we are not able to create a global context.\n\n# How to use\n\nJust use it like useState :\n\n```tsx\nconst [firstname, setFirstname] = useMessageState('firstname', 'joe')\n```\n\nFirst argument is canal name, second one is default state value.\n","readmeFilename":"README.md"}