Socket
Book a DemoInstallSign in
Socket

hydro-http-server

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hydro-http-server

[![NPM version](https://badge.fury.io/js/hydro-http-server.png)](http://badge.fury.io/js/hydro-http-server) [![Build Status](https://secure.travis-ci.org/hydrojs/hydro-http-server.png)](http://travis-ci.org/hydrojs/hydro-http-server) [![Coverage Status](https://coveralls.io/repos/hydrojs/hydro-http-server/badge.png?branch=master)](https://coveralls.io/r/hydrojs/hydro-http-server?branch=master)

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

NPM
version Build Status Coverage Status

hydro-http-server

Synopsis

Launch and stop HTTP Server before/after each tests.

Usage

Config:

hydro.set({
  plugins: ['hydro-http-server'],
  httpServer: {
    app: function(req, res){}, // request handler, could be express, connect etc.
    port: 3003, // server port, default: 3003, optional
    timeout: 100 // server timeout, default: 100, optional
  }
});

Installation

npm:

npm install hydro-http-server

Tests

$ npm test

License

The MIT License (see LICENSE)

Keywords

hydroplugin

FAQs

Package last updated on 02 Jan 2014

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