{"_id":"@dargmuesli/nuxt-clipboard2","name":"@dargmuesli/nuxt-clipboard2","dist-tags":{"latest":"0.2.2"},"versions":{"0.2.2":{"name":"@dargmuesli/nuxt-clipboard2","version":"0.2.2","license":"MIT","keywords":["copy","vue","nuxt","clipboard2","vue-clipboard2"],"main":"index.js","repository":{"type":"git","url":"https://github.com/dargmuesli/nuxt-clipboard2"},"author":{"name":"Web Core IT"},"publishConfig":{"access":"public"},"dependencies":{"vue-clipboard2":"0.3.3"},"description":"> A \"copy to clipboard\" module for Nuxt.js using [vue-clipboard2](https://github.com/Inndy/vue-clipboard2)","licenseText":"MIT License\n\nCopyright (c) 2018 webcore-it\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":"@dargmuesli/nuxt-clipboard2@0.2.2","dist":{"shasum":"1dc8510f477ef9fb00e5d268addac5ccb5632c38","integrity":"sha512-iloEDrEoLykZPOuvZIYVcLiTGQIN1rF6+Din9VwZ93kUIP/JvzmtD8CfWz01Gwh0vfC68GJmmsKOmS108iAc5Q==","tarball":"https://registry.npmjs.org/@dargmuesli/nuxt-clipboard2/-/nuxt-clipboard2-0.2.2.tgz","fileCount":6,"unpackedSize":2710,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE4Of1nTPfL4Og2rS0dIr9kjNGnWSVsIo2sclPN7L2bMAiEAs/lA0R0f8j+UvXn6FPQ79GBCUPW2phVUWAPSZkRN9eI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi0ES+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoeww//VROH2BMxBs21m+YWhiCrqcLPB5TDj8uNTReLv3nddDBylybr\r\nRFfn83z0GhmTNY3YmAKvftdByLqiIh96KQW0QEU2dSM1E3b3jA/35uXjl+s8\r\ncGrha7YkMlcYkttKHmh29r/BYEgKLATzC5FcWLdXv7wE5rYnhJO6bG0N78e4\r\nsPIcY/J+PvvgSMumu6e0hfaIaelmzXtJpea1FSs7JpBU76vHCWNeGuJZsUZ3\r\ntq4gkWlUIsXWs1H0AS0XY6uiBMTOxMtrp1XKaZPo7I4lGOYCcB6hVL8UZtdN\r\nZHvBk1D/kBzFXYcRPasQh9KvflgsyynNQjmjZaV+FeKu7uI52iL3/HDcsIXC\r\na0Z53a2cxa2cBqWem0TFyGtak6UFnVVNmg+V0rvfyYiLjlhx/RI8yyEpwinh\r\ntaK0rRQfKT+/nIxCCEfcSdHdO0VyddLUTMsCYMVNUpst2+d7ZO+d8o8jELUB\r\nv4hlZPjCJiVVUcyIRH3QZso1A1C887uX/l+JO2g9bNX/W7/2f7RKI9b/0jDg\r\nkOW8qXhnBF+zj36TZsJopbd6osN46kbqo0FnY/TNmNgSqvKCIFmJscc2iFGp\r\n0/Hs1yRUkuWWjxzOGYx7DXksgW0WVD1J0m9B8wYMfw1WY5IkhqfpGJ5u0Yau\r\nMIg49MntkaszF99v01DEC8ktr7saSTtmGFI=\r\n=p7KT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dargmuesli","email":"e-mail@jonas-thelemann.de"},"directories":{},"maintainers":[{"name":"dargmuesli","email":"e-mail@jonas-thelemann.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-clipboard2_0.2.2_1657816254584_0.4734287488745341"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-14T16:30:54.516Z","0.2.2":"2022-07-14T16:30:54.790Z","modified":"2022-07-14T16:30:54.966Z"},"maintainers":[{"name":"dargmuesli","email":"e-mail@jonas-thelemann.de"}],"description":"> A \"copy to clipboard\" module for Nuxt.js using [vue-clipboard2](https://github.com/Inndy/vue-clipboard2)","keywords":["copy","vue","nuxt","clipboard2","vue-clipboard2"],"repository":{"type":"git","url":"https://github.com/dargmuesli/nuxt-clipboard2"},"author":{"name":"Web Core IT"},"license":"MIT","readme":"# nuxt-clipboard2\n\n> A \"copy to clipboard\" module for Nuxt.js using [vue-clipboard2](https://github.com/Inndy/vue-clipboard2)\n\n## Setup\n- Add `nuxt-clipboard2` dependency using yarn or npm to your project\n- Add `nuxt-clipboard2` to `modules` section of `nuxt.config.js`\n\n```js\n{\n  modules: [\n   'nuxt-clipboard2',\n  ]\n}\n```\n\n## Usage\nYou can use **$copyText** in almost any context using `app.$copyText` or `this.$copyText` (Including store actions).\n\nSee [vue-clipboard2 official docs](https://github.com/Inndy/vue-clipboard2) for more usage information.\n\n```js\nexport default {\n  methods: {\n    async copySomething(text) {\n      try {\n        await this.$copyText(text);\n      } catch (e) {\n        console.error(e);\n      }\n    },\n  },\n};\n```\n\n## License\n\n[MIT License](./LICENSE)\n\nCopyright (c) webcore-it\n","readmeFilename":"README.md"}