Closed ekryski closed 10 years ago
done with a little bonus:
crawler('file://' + __dirname + '/fixtures/roach.text') .pipe(crawler.split()) .pipe(crawler.mapSync(function(data) { return data.toUpperCase(); })) .pipe(crawler.join(' ')) .pipe(crawler.wait()) .on('data', function(data) { //return transformed string });
done with a little bonus: