New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-ghapi

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-ghapi

A predictable GitHub API wrapper for NodeJS.

  • 0.3.4
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

ghapi - GitHub API Wrapper

NPM

About

ghapi is a GitHub API wrapper built in NodeJS mainly for use with my current Discord bot project, DevBot.

ghapi does not however support searching your private repos at this time, nor does it support anything outside of Repos and Users. I will be making these features soon.

Installation

To install ghapi, you can use Yarn or NPM.

  • yarn add node-ghapi
  • npm i -s node-ghapi

Usage

var ghapi = require('node-ghapi');

ghapi.repo('haydennyyy', 'ghapi', repo => {
  console.log(repo);
});

ghapi.user('haydennyyy', user => {
  console.log(user);
});

Documentation

Documentation for ghapi can be found here.

Contributing

If you're gonna contribute be sure to document everything as much as possible in JSDoc, so that I can re-build the documentation and not have to include tons.

Features

  • 100% API Coverage
    • Repo info
    • User info
    • Commit info
    • Fork info
    • Issue info
    • Org info
  • Asynchronous function
  • Promise-based function

FAQs

Package last updated on 10 Jun 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc