
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
vue-github-buttons
Advanced tools
:octocat: GitHub buttons component for Vue.
Via NPM:
npm install -save vue-github-buttons
Via Yarn:
yarn add vue-github-buttons
Go to https://gluons.github.io/vue-github-buttons
import Vue from 'vue';
import VueGitHubButtons from 'vue-github-buttons';
import App from './App.vue';
// Stylesheet
import 'vue-github-buttons/dist/vue-github-buttons.css';
Vue.use(VueGitHubButtons);
new Vue({
el: '#app',
render: h => h(App)
});
<template>
<div id="app">
<gh-btns-watch slug="vuejs/vue" show-count></gh-btns-watch>
<gh-btns-star slug="vuejs/vue" show-count></gh-btns-star>
<gh-btns-fork slug="vuejs/vue" show-count></gh-btns-fork>
<gh-btns-follow user="yyx990803" show-count></gh-btns-follow>
</div>
</template>
<script>
// JavaScript ...
</script>
<style>
/* Style ... */
</style>
useCacheType: Boolean
Default: true
Enable count number caching. (Use session storage)
GitHub API has limited requests. So, caching may be useful when user refresh the webpage.
Vue.use(VueGitHubButtons, { useCache: false }); // Disable cache
gh-btns-watch👁️ A watch button.
slug - GitHub slug (username/repo).show-count - Enable displaying the count number.gh-btns-star⭐ A star button.
slug - GitHub slug (username/repo).show-count - Enable displaying the count number.gh-btns-fork🍴 A fork button.
slug - GitHub slug (username/repo).show-count - Enable displaying the count number.gh-btns-follow👤 A follow button.
user - GitHub username.show-count - Enable displaying the count number.FAQs
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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.