Socket
Socket
Sign inDemoInstall

react-github-button

Package Overview
Dependencies
5
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-github-button

Unofficial GitHub buttons in React.


Version published
Weekly downloads
18K
decreased by-7.21%
Maintainers
1
Install size
169 kB
Created
Weekly downloads
 

Readme

Source

react-github-button

npm package NPM downloads Dependency Status

Unofficial GitHub buttons in React.

Installation

npm install --save react-github-button

Usage

import GitHubButton from 'react-github-button';

ReactDOM.render(
  <GitHubButton type="stargazers" size="large" namespace="benjycui" repo="react-github-button" />
  , mountNode
);

API

type

Enum{ 'stargazers', 'watchers', 'forks' }

size

Enum{ 'default', 'large' }

namespace

String

Your GitHub id or organization name.

repo

String

The name of your repository.

Liscense

MIT

Keywords

FAQs

Last updated on 18 May 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc