list-github-repos

Get meta-data of all repositories by a specific organisation as a pull-stream

Usage no npm install needed!

<script type="module">
  import listGithubRepos from 'https://cdn.skypack.dev/list-github-repos';
</script>

README

list-github-repos

Get meta-data of all repositories by a specific organisation as a pull-stream

Usage

var pull = require('pull-stream');
var repoStream = require('list-github-repos')('YOUR-GITHUB-USERNAME');

pull(
    repoStream('mozilla'),
    pull.map(function(r) {return r.name;})
    pull.log()
);
// => outputs the names of all github repos by the mozilla organisation

Your github username is used as the User-Agent (as per github spec). See Dominic Tarr's pull-stream for more details about pull-streams.

License

MIT