Get all gists from a GitHub user
$ npm install --save github-gists
const githubGists = require('github-gists');
githubGists('johndoe').then(data => {
console.log(data);
//=> [{url: https://api.github.com/gists/1234567', ...}, ...]
});
Type: string
Username to fetch gists from.
Type: string
Token to authenticate with. Use this to increase the request count. GitHub supports up to 60 unauthenticated request per hour.
If you don't have a token you can generate a new one here.
- github-gists-cli - CLI for this module
MIT © Kevin Mårtensson