@bevry/github-repos
v7.0.0
Published
Fetch the GitHub API response for a specified repository, or for all those that match a particular GitHub user/organization or a search query
Downloads
404
Maintainers
Keywords
Readme
Fetch the GitHub API response for a specified repository, or for all those that match a particular GitHub user/organization or a search query
Usage
import {
getRepo,
getRepos,
getReposFromSearch,
getReposFromUsers,
} from '@bevry/github-repos'
// https://developer.github.com/v3/repos/#get
getRepo('bevry/github-repos').then(console.log).catch(console.error)
getRepos(['bevry/github-repos']).then(console.log).catch(console.error)
// https://developer.github.com/v3/search/#search-repositories
getReposFromSearch('@bevry language:typescript', { pages: 0 })
.then(console.log)
.catch(console.error)
getReposFromUsers(['bevry'], { pages: 0 })
.then(console.log)
.catch(console.error)
npm
Skypack
<script type="module">
import * as pkg from '//cdn.skypack.dev/@bevry/github-repos@^7.0.0'
</script>
unpkg
<script type="module">
import * as pkg from '//unpkg.com/@bevry/github-repos@^7.0.0'
</script>
jspm
<script type="module">
import * as pkg from '//dev.jspm.io/@bevry/[email protected]'
</script>
Discover the release history by heading on over to the HISTORY.md file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Unless stated otherwise all works are:
and licensed under: