var simplerun = require('../index.js');
var fs = require('fs');

simplerun(function* (done){
    var exists = yield fs.exists('./index.js', done);
    console.log('./index.js exist? ' + exists);
})();