connect-spawn

Child process middleware for connect.

npm install connect-spawn
8 downloads in the last week
16 downloads in the last month

Connect Spawn

Installation

$ npm install connect-spawn

Examples

The spawn middleware executes a child process on request and responds with the output:

  connect.createServer(
      require('connect-spawn')('ls', ['-Al'], { cwd: __dirname })
  );
npm loves you