Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more

Deno Github API Wrapper

Simple wrapper of the GitHub (graphql) API for Deno πŸ¦•

Simple Example (proposed interface, prone to change)

let user = 'supercoolgithubuser';

const client = new Client('yourGithubToken');

let query = client.users.
  getUserByUsername(user)
    .selectFields('bio', 'createdAt')
    .build();

let data = client.execute(query);

console.log(data);

Features

  • πŸ“– Readability
  • πŸ”’ Type safety
  • πŸ€– Easy to use
  • 🧩 Extensible

Permissions

The only permission required to use this library is --allow-net if you run the execute method. The library will function as a query builder without it

Author(s)