1.1.0 • Published 9 years ago

spawn-wait-for v1.1.0

Weekly downloads
57
License
ISC
Repository
github
Last release
9 years ago

spawn-wait-for Build Status

Spawn and wait for the process to output a line that matches a regex.

Install

npm install --save spawn-wait-for

Usage

var spawnWaitFor = require('spawn-wait-for');

spawnWaitFor('fakeServer', /server is running/).then(function(obj) {
  obj = {
    process: Object, // a child process object,
    matches: Array, // the regex sub matches
    line: String // the line that matched
  };
});
1.1.0

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago