
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
vue-clipboards
Advanced tools
📋 Vue2.0 directive to copy or cut text to clipboard.
Vue wrapper for clipboard.js.
DEMO: https://zhuowenli.github.io/vue-clipboards/
$ npm install vue-clipboards
import VueClipboards from 'vue-clipboards';
Vue.use(VueClipboards);
new Vue({
data() {
return {
copyData: 'copy data'
}
}
});
<button v-clipboard="copyData">Copy</button>
<button v-clipboard="copyData" @success="handleSuccess" @error="handleError">Copy</button>
import VueClipboards from 'vue-clipboards';
Vue.use(VueClipboards);
new Vue({
data() {
return {
copyData: 'copy data'
}
},
methods: {
handleSuccess(e) {
console.log(e);
},
handleError(e) {
console.log(e);
},
}
});
yarn dev
: Run example in development modeyarn deploy
: Deploy example to gh-pagesyarn build
: Build component in umd & es formatyarn watch
: Build component in umd & es format with watch modeCheck out your npm scripts, it's using vbuild under the hood.
Generated by create-vue-app
FAQs
Vue2.0 directive to copy or cut text to clipboard.
The npm package vue-clipboards receives a total of 3,506 weekly downloads. As such, vue-clipboards popularity was classified as popular.
We found that vue-clipboards demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.