{"_id":"vue3-cookies","_rev":"8-0aef7454f7fa656a6b9241460723ec01","name":"vue3-cookies","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.0":{"name":"vue3-cookies","version":"1.0.0","description":"A simple Vue.js 3 plugin for handling browser cookies","main":"dist/index.js","scripts":{"build":"tsc","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/KanHarI/vue3-cookies.git"},"keywords":["javascript","vue","cookie","cookies","vue-cookies","browser","session"],"author":{"name":"cmp-cc, Itay KanHar","email":"knaan.harpaz@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/KanHarI/vue3-cookies/issues"},"homepage":"https://github.com/KanHarI/vue3-cookies#readme","typings":"types/index.d.ts","dependencies":{"is-mobile":"^2.2.2","vue":"^3.0.0"},"devDependencies":{"typescript":"^4.1.3","@types/node":"^14.14.17"},"gitHead":"5e12563a47d646bc15b56488c327331c37895146","_id":"vue3-cookies@1.0.0","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"integrity":"sha512-FSaADPCgXCCO2EvsN5dDuzFcY7fgAjhjA8VnhhjCdFFrnZ+74bzFdTSwFoN6k21bcD57WPnmgddejMRb1lK5pw==","shasum":"288382e7fc5ebfb59572da2584aa6ed63cbfd2fa","tarball":"https://registry.npmjs.org/vue3-cookies/-/vue3-cookies-1.0.0.tgz","fileCount":8,"unpackedSize":23457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf8HrpCRA9TVsSAnZWagAA9T0P+QGwqxFPsX4BC6P5ut4i\nLD79JsY1Wvu+vad4NG/i1w9krB5BRfRpNeXjqsD+9V4nW1hn48Au76F8KoIe\nCaOZNEvy/VQnTSuUGwaPhC0fhpCA3kb7hDLmmuQBwAruil3JdcjBJ2pgrd1g\nbjKKQBHckM+4Dh8TjMHIO+mjEFha9hvfrYaq/F8YScadYb/eEXNUvDPzSOsl\nR0h0ZRUxA/pIn7jdcYaVH0UrFGT0EFGzExKyxx4Rd65jmJya0mUfa2Hn6KAs\nJzosXU9QQ1445sq1SouIzcvfQ3ZldCriYTFeEv0H080eNtdW2eG1MndbKyPN\n/5PtPaGqezu06seniJV3P/bZCcPvHjF1lTzWP/0OO7PcrvKd8JqfDM/On799\nvB1i6oxgJP74REngf1cxqUpntZW0czpA+lzsGeVXdybZ1KHv7PfvSdvPt2Mu\nxhhOfJAivn5jl+ay1cttTOMRPScT+TeRy/7ZM9n/C+5HD/j4xV6WuhXG2ltN\nFkyaSZ/r7SutQpdRrC7ru81ng9nZ5QXPiPrQv4fojo9TjqBBw6FoCWddG9g5\nbtA72oNh+AyjpS0y2SwleMGiC4jHHQL9BlLIVhWRJ+V66o7zlwnCcdqUT5Y+\nKEPdPfJhobQW6dPBXKkmEFU3A+5+v/NLnCprY52hC5bi78eJkXkFm87H7Et6\nJLg4\r\n=9Z2r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFau9kSB5GWPQ2oGEFhuxf1MNPBE4l9NIGrKlfLZUnvPAiBRcUZrDHR3bEfTSEsdFCQXEDTYaqeY6u7WfCwhz3coxA=="}]},"_npmUser":{"name":"kanhar","email":"knaan.harpaz@gmail.com"},"directories":{},"maintainers":[{"name":"kanhar","email":"knaan.harpaz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue3-cookies_1.0.0_1609595624983_0.272631064093281"},"_hasShrinkwrap":false},"1.0.1":{"name":"vue3-cookies","version":"1.0.1","description":"A simple Vue.js 3 plugin for handling browser cookies","main":"dist/index.js","scripts":{"build":"tsc","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/KanHarI/vue3-cookies.git"},"keywords":["javascript","vue","cookie","cookies","vue-cookies","browser","session"],"author":{"name":"cmp-cc, Itay KanHar","email":"knaan.harpaz@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/KanHarI/vue3-cookies/issues"},"homepage":"https://github.com/KanHarI/vue3-cookies#readme","typings":"types/index.d.ts","dependencies":{"is-mobile":"^2.2.2","vue":"^3.0.0"},"devDependencies":{"typescript":"^4.1.3","@types/node":"^14.14.17"},"gitHead":"2a9ccda701f528ecafae056acd3eab2606783858","_id":"vue3-cookies@1.0.1","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"integrity":"sha512-sjkcZSHibVkxzw4zoktvCewhOA5vmTON2GphPfudHK70LiEaDPOmw/aserqNQophqVrlvsjFjKMBTxC0ISrAGA==","shasum":"23f5c7c3fe5692c1c013f01e7b800cf0d62c512c","tarball":"https://registry.npmjs.org/vue3-cookies/-/vue3-cookies-1.0.1.tgz","fileCount":8,"unpackedSize":23469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf8IJiCRA9TVsSAnZWagAAVgEQAJ29g42uygHNiVUt95nA\n9EpbmL+wbvumqGwaKgdT+q3sHW/x6fqgMBgUp5isfneYaq3VlDsdOk+9lGuq\nz6MrJ4mjiYOF3/qrobhAiLN00oo0EdJuw+ejI4Zvw/agT0a4ldIbIR/Rg3Jn\nwhwM0xwOynTo2NjRpzXymlCE8r2SxTIvo2rTkGQxt0gmSP/uy7NmtDjyA5w1\n4MoY1PJRlasDSBzCNspwSn3+5nWLcaeYW7viw749SY6nhg66k/eepilzBTpB\nh2kXzxro1BAx6ghvXVHW+EmtdV4AWg9Dnzx2mIMa+xv2A5B4AT+XqRoAF4ND\ne0Op4p0VpjPD4+M6YUHMHBI8sIunaoZdY1Vk/qqoI0IQFAQgUEhFOomonDkq\nGxk/nVXQ/UVoBGqtl2K5JK6ifjbdEkk1Dgq1Vd0D2Qi88EMy2ZUgMoMIIIDs\nKmsd9Olf45U5zTrdPSvWoyKa6ozX/6AmMRBE1zND53Vm4qGqnOedgR0W0Zb7\njtNZQ3/HPB0R740C/K4Apjryg1Lwz70CzKkPIHr71ylYbW8RjVMlbuBTZVEA\nRV4PsvPf8dP4XAF9DOf/7IbMLduV8/PMIulkvE/FLX8Ff5RP7khe8VBTQdEX\nvi7LGVKqaZ7FwUzD/SQ8ZXI4HBsm+KnjCiWwhT8pWOzg+IfFldsI55r8IiFI\nXM29\r\n=6Soy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICSrGElNS2Fwnlw2IQVIf5ZNv1j7c4epwUM36aAUFO56AiBlH5ZnfXPYcVTHD0h20olYjswYg8iXN5l5zg7tHY7XlQ=="}]},"_npmUser":{"name":"kanhar","email":"knaan.harpaz@gmail.com"},"directories":{},"maintainers":[{"name":"kanhar","email":"knaan.harpaz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue3-cookies_1.0.1_1609597537581_0.3940910425408235"},"_hasShrinkwrap":false},"1.0.2":{"name":"vue3-cookies","version":"1.0.2","description":"A simple Vue.js 3 plugin for handling browser cookies","main":"dist/index.js","scripts":{"build":"tsc --declaration","test":"echo \"Error: no test specified\" && exit 1","lint":"eslint \"src/**.ts\" --fix"},"repository":{"type":"git","url":"git+https://github.com/KanHarI/vue3-cookies.git"},"keywords":["javascript","vue","cookie","cookies","vue-cookies","browser","session"],"author":{"name":"cmp-cc, Itay KanHar","email":"knaan.harpaz@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/KanHarI/vue3-cookies/issues"},"homepage":"https://github.com/KanHarI/vue3-cookies#readme","typings":"dist/index.d.ts","dependencies":{"vue":"^3.0.0"},"devDependencies":{"@types/node":"^14.14.17","@typescript-eslint/eslint-plugin":"^5.3.1","@typescript-eslint/parser":"^5.3.1","eslint":"^8.2.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.3","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.1.3"},"licenseText":"MIT License\n\nCopyright (c) 2016 \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.\n","_id":"vue3-cookies@1.0.2","dist":{"shasum":"7d6ff9918aded53b3728367ea977611f0d188142","integrity":"sha512-mUFYtTiVjwT/RFIiOiSUuAU8vIzMCnCLJ2tuydk320GGugZH0jJKwiLksyWQj2ONG00StrPgC01ES39aZ6ifaA==","tarball":"https://registry.npmjs.org/vue3-cookies/-/vue3-cookies-1.0.2.tgz","fileCount":16,"unpackedSize":29925,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzVT8rQB8eIcA/xSY9mVnmk+SQoHEcYYQWPRsqsQwxKQIgEumvTC5Yj/GV24VAczrXX+kkVOFMHVW0CwIeYfFZQm4="}]},"_npmUser":{"name":"kanhar","email":"knaan.harpaz@gmail.com"},"directories":{},"maintainers":[{"name":"kanhar","email":"knaan.harpaz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue3-cookies_1.0.2_1636802963046_0.05371949426537537"},"_hasShrinkwrap":false},"1.0.3":{"name":"vue3-cookies","version":"1.0.3","description":"A simple Vue.js 3 plugin for handling browser cookies","main":"dist/index.js","scripts":{"build":"tsc --declaration","test":"echo \"Error: no test specified\" && exit 1","lint":"eslint \"src/**.ts\" --fix"},"repository":{"type":"git","url":"git+https://github.com/KanHarI/vue3-cookies.git"},"keywords":["javascript","vue","cookie","cookies","vue-cookies","browser","session"],"author":{"name":"cmp-cc, Itay KanHar","email":"knaan.harpaz@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/KanHarI/vue3-cookies/issues"},"homepage":"https://github.com/KanHarI/vue3-cookies#readme","typings":"dist/index.d.ts","dependencies":{"vue":"^3.0.0"},"devDependencies":{"@types/node":"^14.14.17","@typescript-eslint/eslint-plugin":"^5.3.1","@typescript-eslint/parser":"^5.3.1","eslint":"^8.2.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.3","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.1.3"},"licenseText":"MIT License\n\nCopyright (c) 2016 \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.\n","_id":"vue3-cookies@1.0.3","dist":{"shasum":"4ca5389ce41544576c63946a3ee7254d7be678b2","integrity":"sha512-oWmHAwn95cVkPbsiiVmCtKudtwoa4yhXkXSSWoMhdQRclpAJgJoN1YMnjn2GSsWX8whvyF7hIqGDsHJyds1kiQ==","tarball":"https://registry.npmjs.org/vue3-cookies/-/vue3-cookies-1.0.3.tgz","fileCount":16,"unpackedSize":30017,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDE2AXWHF3T4MEYCjnGhIqKyhJCHQjLGwukG7eev+/GKgIhAP0mlmSK88Z2m6MuuNuevgHjo60OT3L/sdnmv3h6QCKt"}]},"_npmUser":{"name":"kanhar","email":"knaan.harpaz@gmail.com"},"directories":{},"maintainers":[{"name":"kanhar","email":"knaan.harpaz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue3-cookies_1.0.3_1636803693000_0.27018171620558573"},"_hasShrinkwrap":false},"1.0.4":{"name":"vue3-cookies","version":"1.0.4","description":"A simple Vue.js 3 plugin for handling browser cookies","main":"dist/index.js","scripts":{"build":"tsc --declaration","test":"echo \"Error: no test specified\" && exit 1","lint":"eslint \"src/**.ts\" --fix"},"repository":{"type":"git","url":"git+https://github.com/KanHarI/vue3-cookies.git"},"keywords":["javascript","vue","cookie","cookies","vue-cookies","browser","session"],"author":{"name":"cmp-cc, Itay KanHar","email":"knaan.harpaz@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/KanHarI/vue3-cookies/issues"},"homepage":"https://github.com/KanHarI/vue3-cookies#readme","typings":"dist/index.d.ts","dependencies":{"vue":"^3.0.0"},"devDependencies":{"@types/node":"^14.14.17","@typescript-eslint/eslint-plugin":"^5.3.1","@typescript-eslint/parser":"^5.3.1","eslint":"^8.2.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.3","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.1.3"},"licenseText":"MIT License\n\nCopyright (c) 2016 \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.\n","_id":"vue3-cookies@1.0.4","dist":{"shasum":"ece53e09780c35a30fe4c30d5c2186ee518db41b","integrity":"sha512-czD7F0N9HkUzkP3+KCBrUo8bgoFbr75LXDo6lcObjnvgq/VA42q8yXQe7EB4nQlzMJQv6Rg6MdChLXCoLPQl+w==","tarball":"https://registry.npmjs.org/vue3-cookies/-/vue3-cookies-1.0.4.tgz","fileCount":16,"unpackedSize":30012,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGXiHrk9qj1zT3c/uD8ovyac8gAhg2bd39KUV/m1lQChAiEA+joXSlixJuZCW/Y+rdUAo3wutaEHdrH1AgUmAtNsZFA="}]},"_npmUser":{"name":"kanhar","email":"knaan.harpaz@gmail.com"},"directories":{},"maintainers":[{"name":"kanhar","email":"knaan.harpaz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue3-cookies_1.0.4_1636825274890_0.9276208259394014"},"_hasShrinkwrap":false},"1.0.5":{"name":"vue3-cookies","version":"1.0.5","description":"A simple Vue.js 3 plugin for handling browser cookies","main":"dist/index.js","scripts":{"build":"tsc --declaration","test":"echo \"Error: no test specified\" && exit 1","lint":"eslint \"src/**.ts\" --fix"},"repository":{"type":"git","url":"git+https://github.com/KanHarI/vue3-cookies.git"},"keywords":["javascript","vue","cookie","cookies","vue-cookies","browser","session"],"author":{"name":"cmp-cc, Itay KanHar","email":"knaan.harpaz@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/KanHarI/vue3-cookies/issues"},"homepage":"https://github.com/KanHarI/vue3-cookies#readme","typings":"dist/index.d.ts","dependencies":{"vue":"^3.0.0"},"devDependencies":{"@types/node":"^14.14.17","@typescript-eslint/eslint-plugin":"^5.3.1","@typescript-eslint/parser":"^5.3.1","eslint":"^8.2.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.3","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.1.3"},"licenseText":"MIT License\n\nCopyright (c) 2016 \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.\n","_id":"vue3-cookies@1.0.5","dist":{"shasum":"d16ceedbb2ca67c2d54a118b43b620b5249eb363","integrity":"sha512-CTCiDjiLmv0E7WuZlWlPWFD+EmrRfHxbovHNrUR2BNcfRJgAhy9Bxyy0ncpQnGRClaIr8tMqFJAJ1kV4Yt0h8g==","tarball":"https://registry.npmjs.org/vue3-cookies/-/vue3-cookies-1.0.5.tgz","fileCount":16,"unpackedSize":30008,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHxZTq+EOBmUw7SVGSKItdPJ6jnectUG7rCSgtD5jNtbAiEAsqsWQuWFNjcWWluGhkeLKlDsVXFmX9vTM6094+vT6io="}]},"_npmUser":{"name":"kanhar","email":"knaan.harpaz@gmail.com"},"directories":{},"maintainers":[{"name":"kanhar","email":"knaan.harpaz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue3-cookies_1.0.5_1636825398085_0.25782661234312054"},"_hasShrinkwrap":false},"1.0.6":{"name":"vue3-cookies","version":"1.0.6","description":"A simple Vue.js 3 plugin for handling browser cookies","main":"dist/index.js","scripts":{"build":"tsc --declaration","test":"echo \"Error: no test specified\" && exit 1","lint":"eslint \"src/**.ts\" --fix"},"repository":{"type":"git","url":"git+https://github.com/KanHarI/vue3-cookies.git"},"keywords":["javascript","vue","cookie","cookies","vue-cookies","browser","session"],"author":{"name":"cmp-cc, Itay KanHar","email":"knaan.harpaz@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/KanHarI/vue3-cookies/issues"},"homepage":"https://github.com/KanHarI/vue3-cookies#readme","typings":"dist/index.d.ts","dependencies":{"vue":"^3.0.0"},"devDependencies":{"@types/node":"^14.14.17","@typescript-eslint/eslint-plugin":"^5.3.1","@typescript-eslint/parser":"^5.3.1","eslint":"^8.2.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.3","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.1.3"},"licenseText":"MIT License\n\nCopyright (c) 2016 \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.\n","_id":"vue3-cookies@1.0.6","dist":{"shasum":"c1da41f1f3d6bbea8e75157d49d09dfc2a18ca8a","integrity":"sha512-a1UvVD0qIgxyOqjlSOwnLnqAnz8ASltugEv8yX+96i/WGZAN9fEDci7xO4HIWZE1uToUnRq9JnFhvfDCSo45OA==","tarball":"https://registry.npmjs.org/vue3-cookies/-/vue3-cookies-1.0.6.tgz","fileCount":16,"unpackedSize":30007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3AlkCRA9TVsSAnZWagAAFZYP/16+/4krJUNYgznN9Oxe\nsRm9pXRyge6I1fxzz9iXDRh4uXIdVi/p6JdARCYoDCE485WT+LhuzAMSqfXZ\n3S/5ZsVeY4r74+dxnYO6UKMZZNEVELnfRQwDLB5TvPrMDMtxLMo9f87HzFOq\ntLRiZRFwVNKGj8+KfIe+PA+s0EuGdAy3nAA6BQTjfcnHsm0qmeIB4VIgxF1h\nR7RrfOShKWL6U5HugmB+VOo9cOAXFEvQSP0gsc5eruJ2qw0FfJC91QfV1vBb\nvoSeF731WZwA3AVKDKgDeVScqXWcEPZqOwTlWltNnzuk17zMCly0XUVjpdcw\n0ms5hlg0KjgLrJ1oenfK5RFfkooWHFxAmKO3ICHGtURDlcTyo8uSa53906I9\nzmjzx6IswZCKdK99QaP+EdNffL5pz/TUhDjJRoM+zaE/W9dUgO5UEyr5jlWZ\nsOK+yavbyEoIG+hxT2467usp4bjVS4KPvVgNr7uo+l56mrpmyVe7MswkVrCg\nUCB3p1ON2DocRA18boUPWY4Ld4ZCQnr/9CCwjIq5ml42LaM1VuIc7aBRCQqL\nblSrIGde0lSOSt0/iImYwd1FTUF1MrLpVxwX2k4wMQg9j+oakZLnilrutX2J\ntIXt/2CD8WdR18yXdS+e3UKWfQlowcvpwmIR7zs5+cm+kfGkBqKiahaRjGxc\nQhX9\r\n=zkCu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJYKHwnnfWzePulxi/JfaJIVR6FzJWJ964b1QpFS1WKAIhAPlzkTbJRo9lTLiVRffs3gl9sxD3reW5d3to/3+QdLYp"}]},"_npmUser":{"name":"kanhar","email":"knaan.harpaz@gmail.com"},"directories":{},"maintainers":[{"name":"kanhar","email":"knaan.harpaz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue3-cookies_1.0.6_1636825963024_0.7106937421060584"},"_hasShrinkwrap":false}},"time":{"created":"2021-01-02T13:53:44.983Z","1.0.0":"2021-01-02T13:53:45.125Z","modified":"2022-05-23T21:09:25.302Z","1.0.1":"2021-01-02T14:25:37.722Z","1.0.2":"2021-11-13T11:29:23.171Z","1.0.3":"2021-11-13T11:41:33.161Z","1.0.4":"2021-11-13T17:41:15.046Z","1.0.5":"2021-11-13T17:43:18.214Z","1.0.6":"2021-11-13T17:52:43.233Z"},"maintainers":[{"name":"kanhar","email":"knaan.harpaz@gmail.com"}],"description":"A simple Vue.js 3 plugin for handling browser cookies","homepage":"https://github.com/KanHarI/vue3-cookies#readme","keywords":["javascript","vue","cookie","cookies","vue-cookies","browser","session"],"repository":{"type":"git","url":"git+https://github.com/KanHarI/vue3-cookies.git"},"author":{"name":"cmp-cc, Itay KanHar","email":"knaan.harpaz@gmail.com"},"bugs":{"url":"https://github.com/KanHarI/vue3-cookies/issues"},"license":"MIT","readme":"# vue3-cookies\n\nA simple Vue.js 3 plugin for handling browser cookies, forked from https://github.com/cmp-cc/vue-cookies\n\n## Installation\n\n### Package Managers\n```\nnpm install vue3-cookies --save\n\nOR\n\nyarn add vue3-cookies\n```\n\n## Usage - via composition API (recommended):\n\n```\n// MyComponent.vue\n<script>\nimport { useCookies } from \"vue3-cookies\";\n\nexport default defineComponent({\n  setup() {\n    const { cookies } = useCookies();\n    return { cookies };\n  },\n\n  // <data, methods...>\n  \n  mounted() {\n    let my_cookie_value = this.cookies.get(\"myCoookie\");\n    console.log(my_cookie_value);\n    this.cookies.set(\"myCoookie\", \"abcdefg\");\n  }\n}\n</script>\n```\n### Optional global cookies config:\n```\n// Optional - global config at main.ts / main.js\n// <main.ts OR main.js>\n\nimport { globalCookiesConfig } from \"vue3-cookies\";\n\nglobalCookiesConfig({\n  expireTimes: \"30d\",\n  path: \"/\",\n  domain: \"\",\n  secure: true,\n  sameSite: \"None\",\n});\n\n// <createApp(App).use(router).mount(\"#app\");>, etc.\n\n```\n\n## Usage - as vue plugin (legacy)\n\n```\n// es2015 module\nimport Vue from 'vue'\nimport VueCookies from 'vue3-cookies'\n\nlet app = createApp(App);\napp.use(VueCookies);\n\n// Or to set default config:\napp.use(VueCookies, {\n    expireTimes: \"30d\",\n    path: \"/\",\n    domain: \"\",\n    secure: true,\n    sameSite: \"None\"\n});\n\n\n// set global cookie in component:\nthis.$cookies.set('theme','default');\nthis.$cookies.set('hover-time','1s');\n```\n\n## Api\n\nsyntax format: **[this | Vue].$cookies.[method]**\n\n* Set a cookie\n```\n$cookies.set(keyName, value[, expireTimes[, path[, domain[, secure[, sameSite]]]]])   //return this\n```\n* Get a cookie\n```\n$cookies.get(keyName)  // return value                             \n```\n* Remove a cookie\n```\n$cookies.remove(keyName [, path [, domain]])  // return this\n```\n* Exist a `cookie name`\n```\n$cookies.isKey(keyName)  // return false or true\n```\n* Get All `cookie name`\n```\n$cookies.keys()  // return a array\n```\n\n## Example Usage\n\n#### set global config\n```\n// 30 day after, expire\napp.use(VueCookies, {\n    expireTimes: \"30d\",\n});\n\n// set secure, only https works\napp.use(VueCookies, {\n    expireTimes: \"7d\",\n    secure: true,\n});\n\n// 2019-03-13 expire\napp.use(VueCookies, {\n    expireTimes: new Date(2019,03,13).toUTCString(),\n});\n\n// 30 day after, expire, '' current path , browser default\napp.use(VueCookies, {\n    expireTimes: 60 * 60 * 24 * 30,\n    path: \"\",\n});\n```\n\n#### support json object\n```\nvar user = { id:1, name:'Journal',session:'25j_7Sl6xDq2Kc3ym0fmrSSk2xV2XkUkX' };\nthis.$cookies.set('user',user);\n// print user name\nconsole.log(this.$cookies.get('user').name)\n```\n\n#### set expire times\n**Suppose the current time is : Sat, 11 Mar 2017 12:25:57 GMT**\n\n**Following equivalence: 1 day after, expire**\n\n**Support chaining sets together**\n``` javascript\n // default expire time: 1 day\nthis.$cookies.set(\"user_session\",\"25j_7Sl6xDq2Kc3ym0fmrSSk2xV2XkUkX\")\n        // number + d , ignore case\n        .set(\"user_session\",\"25j_7Sl6xDq2Kc3ym0fmrSSk2xV2XkUkX\",\"1d\")\n        .set(\"user_session\",\"25j_7Sl6xDq2Kc3ym0fmrSSk2xV2XkUkX\",\"1D\")\n        // Base of second\n        .set(\"user_session\",\"25j_7Sl6xDq2Kc3ym0fmrSSk2xV2XkUkX\",60 * 60 * 24)\n        // input a Date, + 1day\n        .set(\"user_session\",\"25j_7Sl6xDq2Kc3ym0fmrSSk2xV2XkUkX\", new Date(2017, 03, 12))\n        // input a date string, + 1day\n        .set(\"user_session\",\"25j_7Sl6xDq2Kc3ym0fmrSSk2xV2XkUkX\", \"Sat, 13 Mar 2017 12:25:57 GMT\")\n```\n#### set expire times, input number type\n\n```\nthis.$cookies.set(\"default_unit_second\",\"input_value\",1);            // 1 second after, expire\nthis.$cookies.set(\"default_unit_second\",\"input_value\",60 + 30);      // 1 minute 30 second after, expire\nthis.$cookies.set(\"default_unit_second\",\"input_value\",60 * 60 * 12); // 12 hour after, expire\nthis.$cookies.set(\"default_unit_second\",\"input_value\",60 * 60 * 24 * 30); // 1 month after, expire\n```\n\n#### set expire times - end of browser session\n\n```\nthis.$cookies.set(\"default_unit_second\",\"input_value\",0);          // end of session - use 0 or \"0\"!\n```\n\n\n#### set expire times , input string type\n\n| Unit   | full name |\n| ----------- | ----------- |\n| y           |  year       |\n| m           |  month      |\n| d           |  day        |\n| h           |  hour       |\n| min         |  minute     |\n| s           |  second     |\n\n**Unit Names Ignore Case**\n\n**not support the combination**\n\n**not support the double value**\n\n```javascript\nthis.$cookies.set(\"token\",\"GH1.1.1689020474.1484362313\",\"60s\");  // 60 second after, expire\nthis.$cookies.set(\"token\",\"GH1.1.1689020474.1484362313\",\"30MIN\");  // 30 minute after, expire, ignore case\nthis.$cookies.set(\"token\",\"GH1.1.1689020474.1484362313\",\"24d\");  // 24 day after, expire\nthis.$cookies.set(\"token\",\"GH1.1.1689020474.1484362313\",\"4m\");  // 4 month after, expire\nthis.$cookies.set(\"token\",\"GH1.1.1689020474.1484362313\",\"16h\");  // 16 hour after, expire\nthis.$cookies.set(\"token\",\"GH1.1.1689020474.1484362313\",\"3y\");  // 3 year after, expire\n\n// input date string \nthis.$cookies.set('token',\"GH1.1.1689020474.1484362313\", new Date(2017,3,13).toUTCString());\nthis.$cookies.set(\"token\",\"GH1.1.1689020474.1484362313\", \"Sat, 13 Mar 2017 12:25:57 GMT \");\n```\n\n#### set expire support date\n```\nvar date = new Date;\ndate.setDate(date.getDate() + 1);\nthis.$cookies.set(\"token\",\"GH1.1.1689020474.1484362313\", date);\n```\n\n#### set never expire\n```\nthis.$cookies.set(\"token\",\"GH1.1.1689020474.1484362313\", Infinity);  // never expire\n// never expire , only -1,Other negative Numbers are invalid\nthis.$cookies.set(\"token\",\"GH1.1.1689020474.1484362313\", -1); \n```\n\n#### remove cookie\n```\nthis.$cookies.set(\"token\",value); // domain.com and *.doamin.com are readable\nthis.$cookies.remove(\"token\"); // remove token of domain.com and *.doamin.com \n\nthis.$cookies.set(\"token\", value, null, null, \"domain.com\"); // only domain.com are readable\nthis.$cookies.remove(\"token\", null, \"domain.com\"); // remove token of domain.com \n```\n\n#### set other arguments\n```\n// set path\nthis.$cookies.set(\"use_path_argument\",\"value\",\"1d\",\"/app\");  \n\n// set domain\nthis.$cookies.set(\"use_path_argument\",\"value\",null, null, \"domain.com\");   // default 1 day after,expire\n\n// set secure\nthis.$cookies.set(\"use_path_argument\",\"value\",null, null, null,true);\n\n// set sameSite - should be one of `None`, `Strict` or `Lax`. Read more https://web.dev/samesite-cookies-explained/\nthis.$cookies.set(\"use_path_argument\",\"value\",null, null, null, null, \"Lax\");\n```\n\n#### other operation\n```\n// check a cookie exist\nthis.$cookies.isKey(\"token\")\n\n// get a cookie\nthis.$cookies.get(\"token\");\n\n// remove a cookie\nthis.$cookies.remove(\"token\");\n\n// get all cookie key names, line shows\nthis.$cookies.keys().join(\"\\n\"); \n\n// remove all cookie\nthis.$cookies.keys().forEach(cookie => this.$cookies.remove(cookie))\n\n// vue-cookies global\n[this | Vue].$cookies.[method] \n\n```\n\n\n## Warning\n\n**$cookies key names Cannot be set to ['expires','max-age','path','domain','secure','SameSite']**\n\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\nCopyright (c) 2016-present, cmp-cc\nCopyright (c) 2020-present, KanHarI\n","readmeFilename":"README.md"}