1.0.1 • Published 6 years ago

scraper-github-avatars v1.0.1

Weekly downloads
10
License
-
Repository
-
Last release
6 years ago

scraper-github-avatars

Script downloads gitHub contibutor's avatars for given organization. Only public (not private) team members avatars will be downloaded.

Usage

const loader = require('scraper-github-avatars');
(async function () {
	let organization = 'facebook';
	let path = './avatars';
	let avatars = await loader.loadAvatars(organization, path);
	for (let i = 0; i < avatars.length; i++)
		console.log(avatars[i].imageUrl + ", " + avatars[i].personName);

})();

Installation

npm i scraper-github-avatars

gitHub

https://github.com/dennis00010011b/scraper-github-avatars