Visitar URL original
GitHub - github-tools/github-extended: A collection of methods to extend the functionality of Github.js (known on npm as github-api)
The Wayback Machine - https://web.archive.org/web/20201127012612/https://github.com/github-tools/github-extended
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
doc
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

GitHub Extended

Code Climate Build Status Coverage Status

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)

About

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

Resources

License

Packages

No packages published
You can’t perform that action at this time.