Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uiw/react-shields

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-shields

Shields.io for react component, Quality metadata badges for open source projects.

  • 1.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
684
decreased by-12.87%
Maintainers
1
Weekly downloads
 
Created
Source

react-shields

Build & Deploy

Shields.io: Quality metadata badges open source projects for react component.

Install

npm install --save @uiw/react-shields
# Via Yarn:
yarn add @uiw/react-shields

Usage

import Github from '@uiw/react-shields';

function Demo() {
  return (
    <>
      <Github.Issues user="uiwjs" repo="uiw" />
      <Github user="uiwjs" repo="uiw">
        <Github.Issues href="https://github.com/uiwjs/uiw" type="issues" />
        <Github.Issues type="issues-raw" />
        <Github.Issues type="issues-closed" />
      </Github>
      <Github.Size user="uiwjs" repo="uiw" />
      <Github user="uiwjs" repo="uiw">
        <Github.Size />
        <Github.Size type="repo-size" />
        <Github.Size type="size" />
      </Github>
    </>
  );
}

Github.Social

<Github.Social user="jaywcjlove" repo="uiw" href="https://github.com/jaywcjlove" />
<Github user="jaywcjlove" repo="awesome-mac">
  <Github.Social type="forks" />
  <Github.Social type="stars" />
  <Github.Social type="watchers" />
  <Github.Social type="followers" />
</Github>

Npm.Version

<Npm.Version scope="@uiw" packageName="react-shields" />
<Npm>
  <Npm.Version scope="@uiw" packageName="react-github-corners" />
  <Npm.Version packageName="hotkeys-js" />
  <Npm.Version packageName="kkt" version="latest" />
  <Npm.Version packageName="tsbb" />
  <Npm.Version
    scope="@uiw"
    type="peer-dependency"
    dependency="react"
    packageName="react-github-corners"
  />
</Npm>

Npm.Size

<Npm.Size scope="@uiw" packageName="react-shields" />
<Npm>
  <Npm.Size format="minzip" scope="@uiw" packageName="react-github-corners" />
  <Npm.Size packageName="hotkeys-js" />
  <Npm.Size packageName="kkt" version="latest" />
</Npm>

Github.Issues

<Github.Issues user="uiwjs" repo="uiw" />
<Github user="uiwjs" repo="uiw">
  <Github.Issues type="issues" />
  <Github.Issues type="issues-raw" />
  <Github.Issues type="issues-closed" />
  <Github.Issues type="issues-closed-raw" />
  <Github.Issues type="issues-pr" />
  <Github.Issues type="issues-pr-raw" />
  <Github.Issues type="issues-pr-closed" />
  <Github.Issues type="issues-pr-closed-raw" />
  <Github.Issues type="issues" label="bug" />
  <Github.Issues type="issues-raw" label="bug" />
  <Github.Issues type="issues-pr" label="bug" />
  <Github.Issues type="issues-pr-raw" label="bug" />
</Github>

Github.Size

<Github.Size user="uiwjs" repo="uiw" />
<Github user="uiwjs" repo="uiw">
  <Github.Size />
  <Github.Size type="repo-size" />
  <Github.Size type="size" />
</Github>

Github.Downloads

<Github.Downloads user="uiwjs" repo="uiw" />
<Github user="uiwjs" repo="uiw">
  <Github.Downloads />
  <Github.Downloads total={false}/>
  <Github.Downloads type="downloads-pre" />
  <Github.Downloads total={false} tag="v3.9.0"/>
  <Github.Downloads tag="v3.9.0"/>
</Github>

Github.Version

<Github.Version user="uiwjs" repo="uiw" />
<Github user="uiwjs" repo="uiw">
  <Github.Version type="version-tag" />
  <Github.Version type="package-json" />
  <Github.Version type="package-json" branch="dev" />
  <Github.Version user="jaywcjlove" repo="wxmp" type="manifest-json" />
  <Github.Version user="jaywcjlove" repo="wxmp" type="manifest-json" branch="master" />
  <Github.Version user="x-mod" repo="routine" type="go-mod" />
  <Github.Version user="x-mod" repo="routine" type="go-mod" branch="master" />
</Github>

Github.License

<Github.License user="uiwjs" repo="uiw" />
<Github user="uiwjs" repo="uiw">
  <Github.License />
</Github>

Github.Analysis

<Github.Analysis user="uiwjs" repo="uiw" />
<Github user="uiwjs" repo="uiw">
  <Github.Analysis type="languages-top" />
  <Github.Analysis type="search" query="github" />
</Github>

Coverage.Coverages

<Coverage.Coverages user="jaywcjlove" repo="hotkeys" />
<Coverage user="jaywcjlove" repo="hotkeys">
  <Coverage.Coverages type="github"  />
  <Coverage.Coverages type="github" />
</Coverage>

Coverage.Codacy

<Coverage.Codacy projectId="1c524e61cd8640e79b80d406eda8754b" />
<Coverage user="jaywcjlove" repo="hotkeys">
  <Coverage.Codacy projectId="1c524e61cd8640e79b80d406eda8754b" branch="master" />
  <Coverage.Codacy projectId="1c524e61cd8640e79b80d406eda8754b" />
</Coverage>

Development

# Step 1, Run first, the listener component compiles the output .js file
npm run ts:watch
# Step 2, Listen for compiled output type .d.ts file
npm run types:watch
# Step 3, Development mode, listen to compile preview site instance
npm run doc:dev

Compile and release

npm run released

Contributors

As always, thanks to our amazing contributors!

Made with action-contributors.

License

Licensed under the MIT License.

FAQs

Package last updated on 08 Apr 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc