{"_id":"vue-clipboard3","_rev":"5-39c0c16181bcabbcd6057a9202e836f6","name":"vue-clipboard3","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.1":{"name":"vue-clipboard3","version":"0.0.1","repository":{"type":"git","url":"https://github.com/JamieCurnow/vue-clipboard3"},"description":"Easily copy to clipboard with Vue 3","keywords":["vue","vue3","vue 3","composition-api","clipboard","clipboard.js"],"main":"dist/index.js","types":"dist/index.d.ts","module":"src/index.js","author":{"name":"Jamie Curnow"},"license":"MIT","private":false,"scripts":{"build":"tsc -d","watch":"tsc --watch -d","test":"tsc"},"peerDependencies":{},"dependencies":{"clipboard":"^2.0.6"},"devDependencies":{"@types/clipboard":"^2.0.1","@types/node":"^14.14.14","typescript":"^4.0.3"},"licenseText":"MIT License\n\nCopyright (c) 2020 Jamie Curnow\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":"vue-clipboard3@0.0.1","dist":{"shasum":"1cf5dae2b70401182ee2b4ec3c88cf2e531f7ee7","integrity":"sha512-LETJYD9scTfWKG2Sdmzg9mgAmA0tnWWAm5KS60Sh7cjSxqo2hrLxfgSp3RwKKE9bXTE8pJ3pvNH0q6dUcxy0yw==","tarball":"https://registry.npmjs.org/vue-clipboard3/-/vue-clipboard3-0.0.1.tgz","fileCount":8,"unpackedSize":8097,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2gdpCRA9TVsSAnZWagAAeu0P/1K/xnmSmzaNJtMMmgAS\nj3Z6X0BoZG3fD/om94y+pLoJQRJQuTPngxlHdiwXMnUKv0OPbfyodbLI8fJm\nd7oP+Nvdx5HGDCrwHUeGER1LyfDQISxmbLfGoB7eERNHWvLMjp6351lDu4RT\nMuy2avenMkehmMRt9GHmcZGTDbAj/PFmEcMNSaogTYwgIikioopL60G0xsZz\nxDR/xsZlvZ8ovDdMkX6EjhTmLcL1R0HbteoaSmthDsFn0f2K89O108QHuVET\nRRhwiYnN6YuVpfKcGPl20nFMHA8oH4hguqoz6ocQz0UcMNq7vPWxfvGKXZny\nyFHNTLzSSDDd1BKQiphDB23MPz2F9/pzPjXpUcO3k7fn3JU5QaX+N4UwDZAB\nZwQZmBCyz3HB5pH+2Lq5NwIQHgE+iTCLEbhwKPFPMCj+femt/KPo1uGI0vpN\npaB4RFc8gUtnfiitNGisyt5Q8Twl7QjfNDbYPjuAGwYKnrAwNK1Cz6ckLenJ\nhRQY5FYKZ59iv3FSvwL1alRDvuh0HBTWWBdFoFWrxUgT9bfSxKfPH7ew0ore\nIXXD0zW11BE2IqgxZvCOfrgnQ3fmotxkIA33CuG3oflxGKaYvTZ2k1wFeINr\nGfY4DVadY303CZ9owYrVavQBiDk5ZKPdjfV2gVPn9fyU8XSCaNomvs7+p951\nCVcJ\r\n=G6GP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDekNO2863+UcPX1AoS5nZqPdoDRg1zYfame66fLRC9AAiEA5KitOWsy6bGUTSIblteJU4aTMcgOcwrnodGJdcprpbw="}]},"_npmUser":{"name":"jamiecurnow","email":"jamie@island-web.ca"},"directories":{},"maintainers":[{"name":"jamiecurnow","email":"jamie@island-web.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-clipboard3_0.0.1_1608124264655_0.04159603847515814"},"_hasShrinkwrap":false},"0.0.2":{"name":"vue-clipboard3","version":"0.0.2","repository":{"type":"git","url":"https://github.com/JamieCurnow/vue-clipboard3"},"description":"Easily copy to clipboard with Vue 3","keywords":["vue","vue3","vue 3","composition-api","clipboard","clipboard.js"],"main":"dist/index.js","types":"dist/index.d.ts","module":"src/index.js","author":{"name":"Jamie Curnow"},"license":"MIT","private":false,"scripts":{"build":"tsc -d","watch":"tsc --watch -d","test":"tsc"},"peerDependencies":{},"dependencies":{"clipboard":"^2.0.6"},"devDependencies":{"@types/clipboard":"^2.0.1","@types/node":"^14.14.14","typescript":"^4.0.3"},"licenseText":"MIT License\n\nCopyright (c) 2020 Jamie Curnow\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":"vue-clipboard3@0.0.2","dist":{"shasum":"ff063ee6dab54b497230cf91692529d3d1d1c8ab","integrity":"sha512-JKa1rS8u0OMACxatbvappdAGHiiTLZLvrk5gY9s/aRA/0evoMZJJ/Yr13gZ03UcvXDSZsSCh+TfCubM/759t+g==","tarball":"https://registry.npmjs.org/vue-clipboard3/-/vue-clipboard3-0.0.2.tgz","fileCount":8,"unpackedSize":8073,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2g3iCRA9TVsSAnZWagAAaYEQAJXB6xWqjKAq1nFUQyf3\nN54WUTFrgaLtpJBDXBHZK2irqvuu0SeaVmS1eNBp2wtyd0YG4TbLolDm9FD4\nJdLgjWF573wLbmt2N6t9C6mMcRVylug0+oBUXjzauvnHvIHqTB2pLc6oevDm\nIm0zTWGcjf9al7eaheQ91/d0b8EqL2eAE9+/ZkiE7OjSYpr38e8Vvvne4fLt\n+3BejohZ1WkPpVA7zvl24sfzXJKdlwpGmp6zVkRsrjIWVj+bEqjwNzkLZ82f\nUkhlMAuAhcUkAeIAhCJj97gmdjASUi82PQUTgmdCNOyQ8pWpvlCT9PpWs/Op\nvKtTfDFKXe8uOlDD3I9RaLcR6CjucGCZ+DxgGPBb742a3M5GYfxn+lFuB3vU\nP1sW6QBjUUjk0+FSnK0XK7dJ2q7Y+h6FH44isyHmbNXVVpHZ6gVso3pTgVir\nEozHLcsaxdz2gITjeOuxkViHeelhM9N7XPZ5bIseOcDc+A0lQoztKISaG4sr\nnGTqH/1L5fY3UN5tkk0ZjWCo7OsCOGPW/IeyABJkN7ON+1YbP57yLCC1XMpm\np3Ug2gcTttd01sHs52KH2Vwb1Dh2zgmmjWugI4s2Q8znU+YpvQonxyIKRVQp\nYYMrZz3hjPl2YlNH8MyohxfyoMWoH9hW58DIK5b2b0VINsoqpz+rsKWD+KkA\nBCy1\r\n=TJXI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC13jT6ajpTraT0EwVEfP4RRK/m2lUPdRihlmUvzrVeRAiEAnQJ/K8W6uGWwkCf7I6RR8qwE3ITySKsrf4vRQK/Natk="}]},"_npmUser":{"name":"jamiecurnow","email":"jamie@island-web.ca"},"directories":{},"maintainers":[{"name":"jamiecurnow","email":"jamie@island-web.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-clipboard3_0.0.2_1608125922439_0.9792446600773888"},"_hasShrinkwrap":false},"1.0.0":{"name":"vue-clipboard3","version":"1.0.0","repository":{"type":"git","url":"https://github.com/JamieCurnow/vue-clipboard3"},"description":"Easily copy to clipboard with Vue 3","keywords":["vue","vue3","vue 3","composition-api","clipboard","clipboard.js"],"main":"dist/index.js","types":"dist/index.d.ts","module":"src/index.js","author":{"name":"Jamie Curnow"},"license":"MIT","private":false,"scripts":{"build":"tsc -d","watch":"tsc --watch -d","test":"tsc"},"peerDependencies":{},"dependencies":{"clipboard":"^2.0.6"},"devDependencies":{"@types/clipboard":"^2.0.1","@types/node":"^14.14.14","typescript":"^4.0.3"},"licenseText":"MIT License\n\nCopyright (c) 2020 Jamie Curnow\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":"vue-clipboard3@1.0.0","dist":{"shasum":"6dc797c6ddc7c6f8f2d5276db1a2adfec98ae074","integrity":"sha512-45Z47MJdAutrvtQvQdkKgLYazqeXNEgNaUUzeerqcNYtxSUpvDjHJWkTTgQTF5SdT9d+FdLX88sYB8qwtxHIxQ==","tarball":"https://registry.npmjs.org/vue-clipboard3/-/vue-clipboard3-1.0.0.tgz","fileCount":8,"unpackedSize":8073,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2hFHCRA9TVsSAnZWagAACZsQAJgvXUcfN0yQJjV66xvV\nNXg+Bj2qHPv/yT0e5hEB38RzkJN9T+P8TTGRnN6ouUrdTVsw80I9SyMoZbUt\nNqLAg0Q4vqx5go/7BqbJPXgzmg7fdh+eK4KzeuC6j2cClAk9Kki1JUKwQKHY\nzKyFGYS3G1VAqXu6JmdetLykieAf5/1NgSrDKHbc4NWF8UnAlWdHzWXIXwVl\nmT6ro48sC4RcmfCpvY/pOLxP4fGO8FMW1Efmvw/AsWBwSProvCNXqjQH/Qt5\nr3smkyZHiK7kLJcqLs0sOVg2Mw5n6B00qL3x4TH7Tpt3UckgeILzu53+pcKW\nPqt1YfCAlvMEniVhXGmlW7NRDdNSpOofhH3wH3jD5HuDpXppCEJb9EfrSjP3\nxV0hZax7HpFTz6+o3aEkiR71drZiOMAIcvvHeW8KXQa87OYyur6CeLT7QFHl\nS10ewDTO4LR1VpOx0ZNRaL5afL4yGdON5PmmQ3Uf9kpeeEVBo4iz4o3IjDZ6\nAimAn/R3tCNKT1RroOAqa8Up81NeIX2263ug9vgHAb2r65pyHRZvsG3tHzVN\nWkQCWfgESM7KIw6YfFHmJvCe64JbQac5djG36Gj7G6wGO47sHoqUK6S6o8lk\nEWciohrsCJQAWXmmEmmZekJMZpB+TXaHbS0DkUxxwCHcRzb8AjhBtBrVvvQA\nvIUz\r\n=QdRd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHwJnqSeZpKZY9JZEwv63j1sm7b72Qf/5XufgI5TQ6vSAiAP+LSMtA0Q+AmcRFh6PQg55lnKUIH/DKZylDi6Qxt9ug=="}]},"_npmUser":{"name":"jamiecurnow","email":"jamie@island-web.ca"},"directories":{},"maintainers":[{"name":"jamiecurnow","email":"jamie@island-web.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-clipboard3_1.0.0_1608126790666_0.04355379439016205"},"_hasShrinkwrap":false},"1.0.1":{"name":"vue-clipboard3","version":"1.0.1","repository":{"type":"git","url":"https://github.com/JamieCurnow/vue-clipboard3"},"description":"Easily copy to clipboard with Vue 3","keywords":["vue","vue3","vue 3","composition-api","clipboard","clipboard.js"],"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","author":{"name":"Jamie Curnow"},"license":"MIT","private":false,"scripts":{"build":"tsc -d","watch":"tsc --watch -d","test":"tsc"},"peerDependencies":{},"dependencies":{"clipboard":"^2.0.6"},"devDependencies":{"@types/clipboard":"^2.0.1","@types/node":"^14.14.14","typescript":"^4.0.3"},"licenseText":"MIT License\n\nCopyright (c) 2020 Jamie Curnow\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":"vue-clipboard3@1.0.1","dist":{"shasum":"39e31fbf41f11d3701b3372e38a7fb83b484796a","integrity":"sha512-iJ2vrizowfA73W3pcxMAKhYSvfekJrQ3FhbveVe9esS1Vfu+xW3Fgc0UKE8N4Q6DyRtcAoNlef8txmD8tK8dIg==","tarball":"https://registry.npmjs.org/vue-clipboard3/-/vue-clipboard3-1.0.1.tgz","fileCount":8,"unpackedSize":8160,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgn9ChCRA9TVsSAnZWagAAGrQP+wXViCVCYQnNNN5UT2N6\nMmQ1V8J6M+heqLXlVrubFyFULhGMfXnam9Fkx3tuxkxKCfdlrz3Gedd38NG9\nu+7MKx6qr9FTn4FlP4+ZXmV2XjAvUV3+TYgA3vMoZmvP0mc6Ue0IMObVHz5e\npB7P7CokRZI69qmh3Tuw0loEevDCcDxJ+WJJ1bUWRDN/iUNSz7u8d45mEIsi\nSRelmJ0QJCwwR4TPhatH9R1HoSx0n2fhjSrshzgvF0mmD4Rrg0R/iTNHJAOc\nXM8xoAAM+GcVIyzIyRT6w3lUxZPjk9zROfqJPgv98qj0xepWv/vP03VWum7m\nHm7uJlt596CjD07W9NTWZm7OrR14ju9Ril+K1yESLSF8WuYngjYPn4PQF4p4\nLdujzkkOajydg7N6oy1ME9m0Zlz/4SSZ01j0uyRN+w6AhAckUE3Dbiqy1T8M\nniiP4YBdsS6z9dA7MmrnGi4KmJsf9u5ecDUMLbqZJ9ohLyi6BM54m7pU7AND\nMipQdlPsTedK4Z8+TxMEnKy33UJtNy0JnLax2a2Yi3iUqPCAFwV+C0ds31p5\nUuTzlaSEfUb4BpDNX3uThTui18wdGUV8J3DWRrlAqh56rdha6JozPXwwiKNx\nZ2Tu4A3OCJ0Txm5H2GVhhbfeoWESAa8JsgjOIN4QOAsfwbr+m3zQAPNoOszv\njVLC\r\n=/xLI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbl6e4GeHXEdJ6aSBpCVJt14zlLru2Jevpq/kSU5yyMAIhAN97RGYaHdI+rjlVNv3RvHYgy02kmo+Slj73lPuW6GjW"}]},"_npmUser":{"name":"jamiecurnow","email":"jamie@island-web.ca"},"directories":{},"maintainers":[{"name":"jamiecurnow","email":"jamie@island-web.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-clipboard3_1.0.1_1621086368562_0.49723676001954975"},"_hasShrinkwrap":false},"2.0.0":{"name":"vue-clipboard3","version":"2.0.0","repository":{"type":"git","url":"https://github.com/JamieCurnow/vue-clipboard3"},"description":"Easily copy to clipboard with Vue 3","keywords":["vue","vue3","vue 3","composition-api","clipboard","clipboard.js"],"type":"module","main":"dist/cjs/index.js","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","author":{"name":"Jamie Curnow"},"license":"MIT","private":false,"scripts":{"build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","watch":"tsc --watch -d","prepublish":"npm run build"},"peerDependencies":{},"dependencies":{"clipboard":"^2.0.6"},"devDependencies":{"@types/clipboard":"^2.0.1","@types/node":"^14.14.14","typescript":"^4.0.3"},"licenseText":"MIT License\n\nCopyright (c) 2020 Jamie Curnow\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":"vue-clipboard3@2.0.0","dist":{"shasum":"79b026c765c0f6a5cde18a477c2dbfc7d3b9f178","integrity":"sha512-Q9S7dzWGax7LN5iiSPcu/K1GGm2gcBBlYwmMsUc5/16N6w90cbKow3FnPmPs95sungns4yvd9/+JhbAznECS2A==","tarball":"https://registry.npmjs.org/vue-clipboard3/-/vue-clipboard3-2.0.0.tgz","fileCount":17,"unpackedSize":12544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLc7aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmojRRAAgMAS6XrEIQEF+KMR1zeX4/9W7Gg5rc2zUUjwEvF6pd7xtUEm\r\nFaz4hGhw934zCVhlO4dKbJcgghGff4cLRT7xMtHEuwZ0Q8rtqqNtdGF0g4zZ\r\nnlk2/FAW5qbx/5pmxvMn8uG6rmwKLiMPrqMbN2TsVGhPi23JtYkDE7+RJLVr\r\nzvyIiqyMK2yODHCGRiw/kH1BfChixrcMoYpsh1PkNYy1r8V/ho2eoOVO376n\r\ndY8JTOGKh3GJlQ4h8wxmpOyv861mCnRtqGuOlJiateced2C+KxsVkzRds3+B\r\nM/gcgsztVuCCEVRC/1lia4ZV4zfWlrtf/P2x/VhDuz/Odqxf/aTRZvEhZwwP\r\nkHc2Qxy/TAsbOge+XxeF6vD5cfJ9Q6xBEH7H7+/aDugmdAxV4JjHPbhjDFZJ\r\n7lHBDymDzgRiQx2lS7ih51yuHBMOPGrBuONkxWjBf5kfjgyTXgNPEKzFkWVo\r\n8uXNHu21AMdIdkNAc/640JABavMm4fQo36kc/o50WTX3/SPF0o6JIKWLfE4b\r\nhjECYJq6jEfleWSNx7/eDgZYWD+bMRQP3ZihuZ3Y7kNdha3779Vl6T+RUEWQ\r\n/ZdaxgLYtqcp/biJ5RgGEjLDtMXQUmkaYYJkVwbHiggODDfd0eyLVkRFnh2R\r\noRjW8dLLg8l8EUynjWVI85SM7RayPjzJXBY=\r\n=mLpt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHWz8bxetdjgCXpvQr9KWsDh1j0xd+IxcEJCbIAG4nMDAiAhHLGlWjFQVjmU7rWXKE/a9aL1n19NcHZvjVdI8vuEIQ=="}]},"_npmUser":{"name":"jamiecurnow","email":"jamie@island-web.ca"},"directories":{},"maintainers":[{"name":"jamiecurnow","email":"jamie@island-web.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-clipboard3_2.0.0_1647169242565_0.7861049969238902"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-16T13:11:04.655Z","0.0.1":"2020-12-16T13:11:04.875Z","modified":"2022-05-23T13:20:28.531Z","0.0.2":"2020-12-16T13:38:42.576Z","1.0.0":"2020-12-16T13:53:10.824Z","1.0.1":"2021-05-15T13:46:08.726Z","2.0.0":"2022-03-13T11:00:42.707Z"},"maintainers":[{"name":"jamiecurnow","email":"jamie@island-web.ca"}],"description":"Easily copy to clipboard with Vue 3","keywords":["vue","vue3","vue 3","composition-api","clipboard","clipboard.js"],"repository":{"type":"git","url":"https://github.com/JamieCurnow/vue-clipboard3"},"author":{"name":"Jamie Curnow"},"license":"MIT","readme":"# vue-clipboard3\n\nEasily copy to clipboard in Vue 3 (composition-api) using clipboard.js 📋\n\nThanks to [vue-clipboard2](https://github.com/Inndy/vue-clipboard2) for inspiration!\n\n## Install\n\n`yarn add vue-clipboard3`\n\nor\n\n`npm install --save vue-clipboard3`\n\n## About\n\nFor use with **Vue 3** and the **Composition API**. I decided to keep in line with the Vue 3 spirit and not make a directive out of this (if you want a vue directive, please make a pull request). I think it makes more sense and provides more clarity to just use this as a method in the `setup()` function.\n\nKeep it simple.\n\n## Usage\n\n### Simple\n\n```html\n<template lang=\"html\">\n  <button @click=\"copy\">Copy!</button>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from '@vue/composition-api'\nimport useClipboard from 'vue-clipboard3'\n\nexport default defineComponent({\n  setup() {\n    const { toClipboard } = useClipboard()\n\n    const copy = async () => {\n      try {\n        await toClipboard('Any text you like')\n        console.log('Copied to clipboard')\n      } catch (e) {\n        console.error(e)\n      }\n    }\n\n    return { copy }\n  }\n})\n</script>\n```\n\n### With ref\n\n```html\n<template lang=\"html\">\n  <div>\n    <input type=\"text\" v-model=\"text\">\n    <button @click=\"copy\">Copy!</button>\n  </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, ref } from '@vue/composition-api'\nimport useClipboard from 'vue-clipboard3'\n\nexport default defineComponent({\n  setup() {\n    const { toClipboard } = useClipboard()\n\n    const text = ref('')\n\n    const copy = async () => {\n      try {\n        await toClipboard(text.value)\n        console.log('Copied to clipboard')\n      } catch (e) {\n        console.error(e)\n      }\n    }\n\n    return { copy, text }\n  }\n})\n</script>\n```\n\n## API\n\n```ts\nuseClipboard(options: Options)\n```\n\n```ts\ninterface Options {\n  /** Fixes IE by appending element to body. Defaults to true. */\n  appendToBody: boolean\n}\n```\n\nreturns an object with a single key: `toClipboard`\n\n```ts\ntoClipboard(text: string, container?: HTMLElement)\n```\n\nrequires that you pass in at least one argument that is a string. This is the text to be copied to the clipboard. The second optional argument is a html element that will be used as the container internally when using clipboard.js.\n\n### Contribution\n\nPRs and issues welcome!\n\n```shell\ngit clone https://github.com/JamieCurnow/vue-clipboard3.git\ncd vue-clipboard3\nyarn install\nyarn watch\n```\n\n### License\n\n[MIT License](https://github.com/JamieCurnow/vue-clipboard3/blob/main/LICENSE)\n","readmeFilename":"README.md"}