Skip to content
This repository has been archived by the owner on Aug 23, 2019. It is now read-only.

Latest commit

 

History

History
17 lines (10 loc) · 469 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 469 Bytes

DEPRECATION NOTICE: This project is no longer maintained.

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

Bitdeli Badge