Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nexys-system/github-sdk

minimal Github SDK to easily access Github API - types
https://github.com/nexys-system/github-sdk

github-api typescript

Last synced: about 2 months ago
JSON representation

minimal Github SDK to easily access Github API - types

Awesome Lists containing this project

README

        

# Github SDK

[![npm version](https://img.shields.io/npm/v/@nexys/github-sdk.svg)](https://www.npmjs.com/package/@nexys/github-sdk)
[![Build and Test Package](https://github.com/nexys-system/github-sdk/actions/workflows/test.yml/badge.svg)](https://github.com/nexys-system/github-sdk/actions/workflows/test.yml)
[![Publish](https://github.com/nexys-system/github-sdk/actions/workflows/publish.yml/badge.svg)](https://github.com/nexys-system/github-sdk/actions/workflows/publish.yml)
![Code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)

## Get started

### Install

`yarn add @nexys/github-sdk`

### Integrate in code

```
import { Rest } from "@nexys/github-sdk";

// example: update repo
Rest.Repo.update(
{description: 'my new repo description'},
'my organization',
'myrepo',
'mytoken'
).then(response => {
console.log({response});
})
```