1.3.4 • Published 4 years ago

simple-github-fetch v1.3.4

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Git Wrapper NODE.JS

Git wrapper is a not official Github module for fetch user, repository, issue etc...

Exemple

const github = require('simple-github-fetch'); /* Module */

const search = github.user('Terracrow').then(result => {
    console.log(result);
}):
{
  total_count: 1,
  incomplete_results: false,
  items: [
    {   
        login: 'Terracrow',
      id: 66390426,
      node_id: '',
      avatar_url: 'https://avatars3.githubusercontent.com/u/66390426?v=4',
      gravatar_id: '',
      url: 'https://api.github.com/users/Terracrow',
      html_url: 'https://github.com/Terracrow',
      followers_url: 'https://api.github.com/users/Terracrow/followers',  
      following_url: 'https://api.github.com/users/Terracrow/following{/other_user}',
      gists_url: 'https://api.github.com/users/Terracrow/gists{/gist_id}',
      starred_url: 'https://api.github.com/users/Terracrow/starred{/owner}{/repo}',
      subscriptions_url: 'https://api.github.com/users/Terracrow/subscriptions',
      organizations_url: 'https://api.github.com/users/Terracrow/orgs',
      repos_url: 'https://api.github.com/users/Terracrow/repos',
      events_url: 'https://api.github.com/users/Terracrow/events{/privacy}',
      received_events_url: 'https://api.github.com/users/Terracrow/received_events',
      type: 'User',
      site_admin: false,
      score: 1
    }
  ]
}

(You don't need Api Key for this)

  • Find a outside type:
const github = require('simple-github-fetch');

github.get('users', 'Terracrow').then(result => console.log(result));
  • Repository:
const github = require('simple-github-fetch');

github.repositories('git-wrapper');
  • Find an license:
const github = require('simple-github-fetch');

github.findLicense('mit').then(r => console.log(r));

All license are available

####and more !

Install

npm i --s simple-github-fetch (NEW)

Thank for using simple-github-fetch !

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.0

4 years ago

1.0.1

4 years ago

1.2.1

4 years ago

1.0.0

4 years ago