Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github-extended

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-extended

A collection of methods to extend the functionality of Github.js (known on npm as github-api)

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

GitHub Extended

GitHub Extended is a collection of methods to extend the functionality of Github.js (known on npm as github-api).

Requirements

Being an extension for Github.js, the only requirement is to install and include Github.js before GitHub Extended.

Installation

You can install GitHub Extended by using npm:

npm install github-extended

Alternatively, you can install it via Bower:

bower install github-extended --save

Another possibility is to manually download it.

Methods

The sections below describe the methods provided.

repository.search(string, options = {})

Searches files and folders

repository.mergePullRequest(pullRequest, options = {})

Merges a pull request

repository.remove(branchName = 'master', path = '')

Deletes a file or a folder and all of its content from a given branch

repository.fork()

Creates a fork of the repository

License

GitHub Extended is dual licensed under MIT and GPL-3.0.

Author

Aurelio De Rosa (@AurelioDeRosa)

Keywords

FAQs

Package last updated on 23 Dec 2015

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