Skip to content

rajikaimal/github-organizations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-organizations Build Status

Fetch GitHub organizations of a user

no authentication required

Install

npm install --save github-organizations

Usage

const ghOrgs = require('github-organizations');

ghOrgs('rajikaimal', function(error, response) {
	if(error) {
		console.log(error);	
	} else {
		console.log(response);
	}
});

API

ghOrgs(query, callback)

Returns an array of organization data

query

Type: string

GitHub username for a request

callback

Type: function

Takes two arguments, error and response respectively

License

MIT © Rajika Imal

About

Fetch GitHub organizations of a user

Resources

License

Stars

Watchers

Forks

Packages

No packages published