1 module.exports.drive = drive
3 var semver = require('semver')
5 function drive (input) {
6 var stdin = process.stdin
7 function emit (chunk, ms) {
8 setTimeout(function () {
9 stdin.emit('data', chunk)
12 if (semver.gte(process.versions.node, '0.11.0')) {
13 input.forEach(function (chunk) {
17 stdin.once('readable', function () {
19 input.forEach(function (chunk) {