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

github-api-tags-full

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-api-tags-full - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

2

package.json

@@ -9,3 +9,3 @@ {

"name": "github-api-tags-full",
"version": "7.0.0",
"version": "7.0.1",
"description": "Gets all tags with their respective commit for sorting from Github API",

@@ -12,0 +12,0 @@ "main": "index.js",

@@ -21,5 +21,5 @@ # github-api-tags-full

This module uses the github module for accessing the Github API:
````
var GitHubApi = require('github'),
githubTags = require('github-api-tags-full');
```javascript
var GitHubApi = require('github'),
GithubApiTags = require('github-api-tags-full');

@@ -30,3 +30,4 @@ var github = new GitHubApi({

githubTags({ user: 'golang', repo: 'go' }, github)
var gat = new GithubApiTags();
gat.fetch({ user: 'golang', repo: 'go' }, github)
.then(function(tags) {

@@ -41,6 +42,6 @@ console.log(tags);

````
````
var GitHubApi = require('github'),
moment = require('moment'),
githubTags = require('github-api-tags-full');
```javascript
var GitHubApi = require('github'),
GithubApiTags = require('github-api-tags-full'),
moment = require('moment');

@@ -51,3 +52,4 @@ var github = new GitHubApi({

githubTags({ user: 'golang', repo: 'go' }, github)
var gat = new GithubApiTags();
gat.fetch({ user: 'golang', repo: 'go' }, github)
.then(function(tags) {

@@ -68,1 +70,3 @@ var tagsSorted = tags.sort(byAuthorDateAsc).reverse(); // descending

````
A more comprehensive example with progress indicator and http replay can be found in example.js.
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