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 })
);
This package has been deprecated
Author message:
This project is no longer maintained.
$ npm install connect-spawn
The spawn middleware executes a child process on request and responds with the output:
connect.createServer(
require('connect-spawn')('ls', ['-Al'], { cwd: __dirname })
);
npm i connect-spawn
13
0.1.0
none