jquery.repos.js

1.0.0 • Public • Published

JQuery Repos

JQuery Repos is a jquery plug-in to see the latest published on github repositories , using the system API ( Application Program Interface ) available to Github . The official documentation of API GitHub is available at the following link:

https://developer.github.com/v3/

Before you start using the plug-in download octicons GitHub , or alternatively use the CND ( onticons.css ) , these are the links of the official documentation and the CND Code :

Official Documentation

https://octicons.github.com

CDN Code

https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.css

HTML Code

`<head>`
`<script src="js/jquery-x.x.x.min.js" type="text/javascript"></script>`
`<script src="js/jquery.repos.js" type="text/javascript"></script>`
`<link rel="stylesheet" href="css/repos.css">`
`<!--Octicons CND Code -->`
`<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.css">`
`<body>`
`<div class="repos"></div>`

JavaScript Code

`$(document).ready(function(){`
`$('div.repos').repos({ `
 `username:'MicheleDeF',`
 `count:4`
`});`

username end count are respectively the username used to access Github and the number of repositories that you want to display.


https:// github.com / MicheleDeF , MicheleDeF is the username to be included as a parameter in the plug-in repos.


http://micheledef.github.io/jquery.repos.js/

See the Pen vKXKZr by michele de falco (@MicheleDeF) on CodePen.

Package Sidebar

Install

npm i jquery.repos.js

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

80.2 kB

Total Files

8

Last publish

Collaborators

  • micheledef