github-types

A simple module for GitHub API v3 types

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
github-types
1.0.04 years ago4 years agoMinified + gzip package size for github-types in KB

Readme

GitHub Types
A simple package with GitHub API types.

What is this

This is an attempt to create an easy to use type package for use with the GitHub API v3.

What is this not

This is not meant to be an API wrapper or a substitute for your favorite GitHub client.
If you are looking for a client please take a look at Octokit/rest.js.
For other languages take a look at this list.

How to use this package

You can install this package from NPM but running:
$ npm i github-types

Once installed you can use these types by importing/requiring them in your code:
import { Repo } from "github-types";

We have a simple example in the examples directory that uses the GitHub API with these types.