Socket
Socket
Sign inDemoInstall

github-types

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github-types

A simple module for GitHub API v3 types


Version published
Weekly downloads
351
decreased by-7.63%
Maintainers
1
Install size
13.0 kB
Created
Weekly downloads
 

Readme

Source

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.

FAQs

Last updated on 02 Jan 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc