github-tools/github-extended

Name: github-extended

Owner: Tools for GitHub

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

Created: 2015-12-23 02:03:46.0

Updated: 2018-04-12 00:44:08.0

Pushed: 2015-12-28 19:33:03.0

Homepage: null

Size: 201

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

install github-extended

Alternatively, you can install it via Bower:

r 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)


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.