Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including derby-ui-github-buttons with all npm packages installed. Try it out:

var derbyUiGithubButtons = require("derby-ui-github-buttons")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

derby-ui-github-buttons v0.1.1

A Derby component library for the Unofficial Github Buttons.

Derby Github Buttons

A Derby component library for the Unofficial Github Buttons. Refer to their documentation for more details.


$ npm install derby-ui-github-buttons

In "lib/app/index.js" include:



In your view include:

<ghbtns:button user="psirenny" repo="derby-ui-github-buttons" type="watch" width="100">

or better yet:

<ghbtns:button giturl="" type="watch" width="100">


  • count True if the count should be shown.
  • domain The domain hosting the .html file. Defaults to
  • filename The name of the .html file. Defaults to github-btn.html.
  • fileurl The url to the .html file. This will override secure, domain and filename.
  • giturl The url to the repository. This will override user and repo.
  • height The height of the button. The default value depends on the button size.
  • repo The name of the repository. Required
  • secure True if the url should be in https. Defaults to false.
  • size The size of the button.
  • type The type of button. Required
  • user The username of the repository owner. Required
  • width The width of the button.
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free