1.2.0 • Published 10 years ago

hookup v1.2.0

Weekly downloads
10
License
-
Repository
github
Last release
10 years ago

hookup

Easily configure GitHub web hooks.

About

GitHub doesn't provide a UI for configuring which events a web hook listens to. Hookup provides a simple way to manage the events for web hooks.

Command line tool

Installation

npm install -g hookup

Usage

hookup -l username -p password -r user/repo -u http://example.com/hook -e push,status

Node module

Installation

npm install hookup

Usage

var hookup = require( "hookup" );
var client = hookup.createClient({
	username: username,
	password: password
});
client.addWebHook({
	repo: "user/repo",
	events: [ "push", "status" ]
});

The node module contains lower-level methods for interacting with hooks and the GitHub API in general.

License

Copyright 2013 Scott González. Released under the terms of the MIT license.

1.2.0

10 years ago

1.1.0

11 years ago

1.0.0

11 years ago