10.0.0-next.1698809969.f56710a4c5a9fdb6608334dc3c6ea0f63f260172 • Published 2 years ago

@bevry/github-api v10.0.0-next.1698809969.f56710a4c5a9fdb6608334dc3c6ea0f63f260172

Weekly downloads
-
License
Artistic-2.0
Repository
github
Last release
2 years ago

Authorize GitHub API requests with the appropriate credentials and preferences.

Usage

Complete API Documentation.

Node.js versions 15 and 16 will need to use --experimental-global-fetch.

import { query } from '@bevry/github-api'

// fetches the GitHub API URL securely via headers authorization, so no redaction is necessary
const response = await query({
    pathname: `user`,
    // searchParams, headers, credentials, url, userAgent
})
const data = await response.json()
console.log(data)

npm

Skypack

<script type="module">
    import * as pkg from '//cdn.skypack.dev/@bevry/github-api@^10.0.0'
</script>

unpkg

<script type="module">
    import * as pkg from '//unpkg.com/@bevry/github-api@^10.0.0'
</script>

jspm

<script type="module">
    import * as pkg from '//dev.jspm.io/@bevry/github-api@10.0.0'
</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:

11.3.3

2 years ago

11.4.0

2 years ago

11.3.1

2 years ago

11.3.2

2 years ago

11.2.0

2 years ago

11.3.0

2 years ago

11.1.0

2 years ago

11.0.0

2 years ago

10.0.0

2 years ago

10.1.0

2 years ago

10.2.0

2 years ago

9.0.0

5 years ago