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