New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ctrl/ngx-github-buttons

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ctrl/ngx-github-buttons

GitHub Buttons for Angular

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Angular GitHub Buttons

GitHub buttons without the iframe, rewritten in Angular.

Choose from two styles:

  • ntkme: https://buttons.github.io/
  • mdo: https://ghbtns.com/

Demo

https://typectrl.github.io/ngx-github-buttons/

Install

npm i @ctrl/ngx-github-buttons

Use

Import the component

import { NtkmeButtonModule } from '@ctrl/ngx-github-buttons';
// or
import { MdoButtonModule } from '@ctrl/ngx-github-buttons';

Use the component

<ntkme-github-button
  user="angular"
  repo="angular"
  >
</ntkme-github-button>

or

<mdo-github-button
  user="angular"
  repo="angular"
  >
</mdo-github-button>

API

InputTypedefaultDescription
userstringuser or org
repostringrepository name
typestringstarstar, follow, watch, fork. ntkme only: issue, download
countbooleanfalseshow count of stars, issues, followers etc.
sizestring'none''large' for a bigger size button
standardIconbooleanfalsentkme only: use the github logo instead of other icons

License

Compilicated. This project is MIT licensed, but each set of buttons have their own license which must be respected.
The mdo buttons are Licensed Apache 2
The ntkme buttons are Licensed BSD 2-clause

Keywords

FAQs

Package last updated on 21 Nov 2017

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