Gandi/hubot-restrict-ip

Name: hubot-restrict-ip

Owner: Gandi

Description: A hubot plugin registering an Express middleware for filtering who can access to http endpoints.

Created: 2016-08-16 17:10:09.0

Updated: 2016-08-23 20:01:32.0

Pushed: 2016-09-23 03:57:51.0

Homepage:

Size: 17

Language: CoffeeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Hubot Restrict IP Plugin

Version Downloads Build Status Dependency Status Coverage Status NPM

This plugin is an Express middleware that will permit to filter who has access to the http endpoints of your hubot bot.

Installation

In your hubot directory:

npm install hubot-restrict-ip --save

Then add hubot-restrict-ip to external-scripts.json

Configuration

With

Testing
npm install

# will run make test and coffeelint
npm test 

# or
make test

# or, for watch-mode
make test-w

# or for more documentation-style output
make test-spec

# and to generate coverage
make test-cov

# and to run the lint
make lint

# run the lint and the coverage
make
Changelog

All changes are listed in the CHANGELOG

Contribute

Feel free to open a PR if you find any bug, typo, want to improve documentation, or think about a new feature.

Gandi loves Free and Open Source Software. This project is used internally at Gandi but external contributions are very welcome.

Authors
License

This source code is available under MIT license.

Copyright

Copyright (c) 2016 - Gandi - https://gandi.net


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.