This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

node-github-repos

2.0.0 • Public • Published

node-github-repos

NPM

Dependency Status Known Vulnerabilities

Fetchs all user repositories from GitHub. Uses NodeJS' inbuilt https module and doesn't depends to any external modules.

Super easy usage with ZERO dependencies

// Require the library
var github = require('node-github-repos');

// Fetch erayalakese's public repositories
github.get('erayalakese', function(body) {
    // Fetching successful.
    /*
        body contains repo datas in JSON format.
        Example data : https://api.github.com/users/erayalakese/repos
    */
    console.log(body);
}, function(err) {
    // An error occured.
    /*
        err is HTTP Status Code.
        404 if user not found.
    */
    console.log(err);
});

Package Sidebar

Install

npm i node-github-repos

Weekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • erayalakese