npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

hydro-http-server

0.0.1

@vesln

npmHomeRepoSnykSocket
Downloads:0
$ npm install hydro-http-server
DailyWeeklyMonthlyYearly

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)