2.1.0 • Published 10 years ago
shelljs-fibers v2.1.0
shelljs-fibers
shelljs with extensions for use with node-fibers. Currently provides sleep and a CPU-friendly exec.
Usage
npm install shelljs shelljs-fibersvar shelljs = require('shelljs-fibers');
var Fibers = require('fibers');
var sleep = shelljs.sleep,
echo = shelljs.echo;
Fibers(function() {
echo('hello');
sleep(1);
echo('world');
}).run()Contributing
Please follow our Code of Conduct when contributing to this project.
$ git clone https://github.com/goodeggs/shelljs-fibers && cd shelljs-fibers
$ npm install
$ npm testModule scaffold generated by generator-goodeggs-npm.