Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

assemblebot

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assemblebot

Bot for responding to github issues opened on assemble repositories.

Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
3
Maintainers
2
Weekly downloads
 
Created
Source

assemblebot

Bot for responding to github issues opened on assemble repositories.

Install

Install with npm

$ npm i assemblebot --save

Usage

var AssembleBot = require('assemblebot');

API

AssembleBot

Main class for creating a new AssembleBot instance. This bot extends GithubBot and adds sepcific handlers for responding to assemble issues.

Params

  • options {Object}: Options to use to configure the bot.
  • options.GITHUB_TOKEN {String}: Personal github token the bot uses to post to github issues.

Example

var bot = new AssembleBot({GITHUB_TOKEN: 'XXX'});

Handlers

This bot implements the following github webhook event handlers:

.issues

Handles responding to newely open github issues.

Will post a comment on a newely open github issue as the configured github user. Uses a template that can be rendered with the issue payload providing more context and a richer response. See the github webhook issues event for specification of payload object.

Example

bot.handleIssues(payload, function(err, results) {
  if (err) return console.error(err);
  console.log(results);
});
  • assemble: Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt,… more | homepage
  • base-bot: Simple bot that knows how to handle events when told too. Use base bot to… more | homepage
  • githubbot: Starting point for registering event handlers and handling payloads coming from github webhooks. Allows usage… more | homepage

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Brian Woodward

License

Copyright © 2015 Brian Woodward Released under the MIT license.

This file was generated by verb on December 30, 2015.

FAQs

Package last updated on 29 Jan 2016

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