Skip to content

Repository files navigation

Github.SDK

Opiniated Node.js Github SDK

npm versionlicenseossf scorecardgithub ci workflowsize

🚧 Requirements

🚀 Getting Started

This package is available in the Node Package Repository and can be easily installed with npm or yarn

$ npm i @openally/github.sdk
# or
$ yarn add @openally/github.sdk

👀 Usage

import{GithubClient}from"@openally/github.sdk";constgithub=newGithubClient({token: process.env.GITHUB_TOKEN});forawait(constprofgithub.repos.nodejs.node.pulls()){console.log(pr.title);}consttags=awaitgithub.repos.OpenAlly["github.sdk"].tags();constuserRepos=awaitgithub.users.torvalds.repos();

📚 API

Available GitHub APIs:


Proxy provides access to GitHub repository endpoints.

import{repos}from"@openally/github.sdk";

Via GithubClient (recommended for authenticated use)

import{GithubClient}from"@openally/github.sdk";const{ repos }=newGithubClient({token: process.env.GITHUB_TOKEN});

Contributors ✨

All Contributors

Thanks goes to these wonderful people (emoji key):

Thomas.G
Thomas.G

💻📖👀⚠️🛡️
Clement Gombauld
Clement Gombauld

📖👀

License

MIT

About

Opiniated Node.js Github SDK

Topics

Resources

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages