Socket
Socket
Sign inDemoInstall

releases

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    releases

Uses GitHub API to show feed of releases and open bugs for a given project.


Version published
Weekly downloads
16
increased by128.57%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

releases

Uses GitHub API to show feed of releases and open bugs for a given project. You can see a live version of releases in action here.

Preview

Preview Image

Usage

Add the following HTML to the page where you want the releases to be displayed.

<div class="container">
  <h1> Known Issues </h1>
  <ul id="bugs">
  </ul>
  <h1> Latest Releases </h1>
  <ul id="releases">
  </ul>
  <p id="more-releases">
  </p>
</div>

Load the following scripts on the same page as where you put the code above. (note if you are using Bootstrap you probably are already loading jQuery)

<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="js/marked.js"></script>
<script src="js/moment.js"></script>
<script src="js/releases.js"></script>

Add the Styles from style.css to your existing stylesheet.

/* Style for Releases Plugin */
#releases {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

Update the window.repo variable on Line 5 of releases.js to be whatever repo you want to display releases for.

FAQs

Last updated on 01 Dec 2015

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