{"_id":"@ekwoka/persistedstore","_rev":"3-0d35c590c4d59c380c64c0f464854a8a","name":"@ekwoka/persistedstore","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@ekwoka/persistedstore","version":"0.1.0","description":"","main":"dist/index.js","keywords":["persisted","store","local","session","memory","AlpineJS"],"author":"Eric Kwoka","license":"MIT","_id":"@ekwoka/persistedstore@0.1.0","_integrity":"sha512-Lv09htkxMeAVu4rHWq3LN3WLCpqYm51UDoPphKdlJMItUUX8bVryNRxMWPpqXTVnynR50TiT7cQX+8VifUyyYA==","_resolved":"/Users/erickwoka/OneDrive/Git/persistedstore/ekwoka-persistedstore-0.1.0.tgz","_from":"file:ekwoka-persistedstore-0.1.0.tgz","_nodeVersion":"17.0.1","_npmVersion":"8.1.3","dist":{"integrity":"sha512-Lv09htkxMeAVu4rHWq3LN3WLCpqYm51UDoPphKdlJMItUUX8bVryNRxMWPpqXTVnynR50TiT7cQX+8VifUyyYA==","shasum":"1581853ef03b0ccde21ac58bee2aa9d73a10a6fa","tarball":"https://registry.npmjs.org/@ekwoka/persistedstore/-/persistedstore-0.1.0.tgz","fileCount":3,"unpackedSize":2448,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxbMOSNHI2s6NjHM+u0Uq4YFLr9gMVnRJX0nDnAdcW3wIhALzP81g4EZOJd5sO6XNB6oodEbnUh9sj9necJ7v/n4Yt"}]},"_npmUser":{"name":"ekwoka","email":"ninjatheory@gmail.com"},"directories":{},"maintainers":[{"name":"ekwoka","email":"ninjatheory@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistedstore_0.1.0_1636650849436_0.32512987518190695"},"_hasShrinkwrap":false},"0.1.1":{"name":"@ekwoka/persistedstore","version":"0.1.1","description":"<h1 align=\"center\">Welcome to @ekwoka/persistedstore 👋</h1> <p>   <a href=\"https://www.npmjs.com/package/@ekwoka/persistedstore\"><img src=\"https://badge.fury.io/js/@ekwoka%2Fpersistedstore.svg\" alt=\"npm version\" height=\"18\"></a>   <a href=\"#\" target=\"_bl","main":"src/index.js","keywords":["persisted","store","local","session","memory","AlpineJS"],"author":{"name":"Eric Kwoka"},"license":"MIT","gitHead":"eaad7c88d569b86273e8a32a6072a89cc5c29af1","_id":"@ekwoka/persistedstore@0.1.1","_nodeVersion":"17.0.1","_npmVersion":"8.1.3","dist":{"integrity":"sha512-hzoU+KNtKImPhJogwMaaYh5oTE45JBCA37u8N1sI1M6san0a3ADS9sY7IPxLPb+5sljUyp7iXuZX/7XcAvdVAw==","shasum":"f47a059fadc559d132027e759b213f2b0f99370f","tarball":"https://registry.npmjs.org/@ekwoka/persistedstore/-/persistedstore-0.1.1.tgz","fileCount":3,"unpackedSize":2448,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0ZUNCRA9TVsSAnZWagAAYCcP/2+Ib9MVQ1jW/OG4ZHxC\nuKqAGqU7uANV5SZ8ak4VFRbREgTzUU0a4dHainSt40qIdwhOlD0LirG3F90Q\nTfvhNYa+7u9RNJ8myO5zpBtuU+O90G+Soib2w44fqbjZYSRjz/s0LcGUOHsN\nPuLFpHMQz3978/r50Mj8LKd2VA+OblScS96YJYf1L4Ftmd/ceI9KQuPN7o5Q\n3jmO5sl8lU8JP+W4EnMsjNwHH5VLH/DyXagwR7h0LOQBes3e4Ig/5RDNxWdb\n2e1tGKWh9qzFp2pOnFxDDNAw3e6x6q+qYyng2D3tL8NiWBTAUZQ735JBJD1W\nY+Qh+lwksQP8Y78EBblR0cf+ElYsfvW46ftz0i53j60/7PL7WaJ5K3F/DY31\nj8l/nbRUHURqBQ3dkvEUGkDwr/DbwsKMG26QA0YzHmjyTAEntErijk3kZgaR\nBBr1AN2mwY7+quoP0EB9I8OA91v5Rk8gX9RplB0lRFzaQv1fWNsDT7DwT8a9\nKQLgGkqwQSWLqAh0KfiOXnfaCL5NoTqI92WIodG60mmcIyiaWvnjbvKibwb+\nq02BjSLFdN7i/EmJz8Dj3W+c6sM+BygsFUSDT0F2xA4aZAmkVdbrd9F8XU2W\nc2FrKbndnEJ90/dZhpnGpQQhTUhEyeZWMYH3L4xtJ0CozS/45o/hYEK5/zEu\nwMKG\r\n=DyKZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEK73jF8McZta9MLOyXOSg79eUlLLLBebEvlncpwHn1YAiACct2Qn6p8GK7lLBPCez9ZbKxlBAn2ZKo6MKqANL4i3A=="}]},"_npmUser":{"name":"ekwoka","email":"ninjatheory@gmail.com"},"directories":{},"maintainers":[{"name":"ekwoka","email":"ninjatheory@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistedstore_0.1.1_1636651024060_0.4438921064108605"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-11T17:14:09.383Z","0.1.0":"2021-11-11T17:14:09.789Z","modified":"2022-04-05T07:03:05.494Z","0.1.1":"2021-11-11T17:17:04.244Z"},"maintainers":[{"name":"ekwoka","email":"ninjatheory@gmail.com"}],"keywords":["persisted","store","local","session","memory","AlpineJS"],"author":{"name":"Eric Kwoka"},"license":"MIT","readme":"<h1 align=\"center\">Welcome to @ekwoka/persistedstore 👋</h1>\n<p>\n  <a href=\"https://www.npmjs.com/package/@ekwoka/persistedstore\"><img src=\"https://badge.fury.io/js/@ekwoka%2Fpersistedstore.svg\" alt=\"npm version\" height=\"18\"></a>\n  <a href=\"#\" target=\"_blank\">\n    <img alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" />\n  </a>\n</p>\n\n> Simple Tool for having Alpine Stores persist across pages and sessions. This is based on @ryangjchandler/fern with a few improvements.\n\n## Install\n\n```sh\nnpm i @ekwoka/persistedstore\n```\n\n## Usage\n\nImport and install persistedStore to your bundle with AlpineJS:\n```js\nimport Alpine from 'alpinejs';\nimport persistedStore from '@ekwoka/persistedstore';\n\nAlpine.plugin(persistedStore);\nAlpine.start();\n```\n\nUse wherever you would a conventional Alpine Store:\n\n```js\nAlpine.persistedStore('darkMode',false);\n```\n\nRefer in the same way you would a normal store:\n```html\n<button @click=\"$store.darkMode=true\">🌙</button>\n```\n\nThis version of persistedStore supports all primitive types, arrays, and objects. It also supports `getters` in the Store Object.\n\n## Author\n\n👤 **Eric Kwoka**\n\n* Website: http://thekwoka.net\n* Github: [@ekwoka](https://github.com/ekwoka)\n\n## Show your support\n\nGive a ⭐️ if this project helped you!","readmeFilename":"README.md","description":"<h1 align=\"center\">Welcome to @ekwoka/persistedstore 👋</h1> <p>   <a href=\"https://www.npmjs.com/package/@ekwoka/persistedstore\"><img src=\"https://badge.fury.io/js/@ekwoka%2Fpersistedstore.svg\" alt=\"npm version\" height=\"18\"></a>   <a href=\"#\" target=\"_bl"}