github-repo-buttons
A lightweight library for embeddable GitHub star/watch/fork buttons.
Downloading
# Using npm:
$ npm install --save github-repo-buttons
# Using yarn:
$ yarn add github-repo-buttons
Usage
<!-- Simple button: the this will display the stars --><!-- and the watchers --><!-- and the forks --> <!-- By default the stars/watchers/forks icons are used just like on GitHub. If you want to use the GitHub logo instead like on the website, add the generic-icon attribute: --> <!-- Instead of the class="github-repo-button" syntax you can also use a tag: --><!-- or an attribute --> <!-- If you want to request the stars/watchers/forks from GitHub over HTTP instead of HTTPS, use the insecure-http attribute: -->