Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nexys-system/github-sdk
- Owner: nexys-system
- Created: 2022-01-31T18:59:42.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-04T13:12:51.000Z (about 1 year ago)
- Last Synced: 2024-11-11T09:02:35.460Z (2 months ago)
- Topics: github-api, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@nexys/github-sdk
- Size: 136 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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});
})
```