co-seven

seven module in co harmony yield

npm install co-seven
2 downloads in the last month

#

Install

npm install co-seven

Usage


var co = require('co')
  , coseven = require('co-seven');

co(function* () {
  var result = yield coseven('https://news.ycombinator.com/');
  var post =coseven.matchall(result,'<td class="title">','</td>');
  var attr =coseven.attr(post[1],'class');
              coseven.out({dir:"data.txt",chunk:x,clear:true});
  console.log(attr);
})();
npm loves you