node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

connect-spawn

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 })
  );