shelljs-fibers
v2.1.0
Published
shelljs with extensions for use with node-fibers
Downloads
4
Keywords
Readme
shelljs-fibers
shelljs with extensions for use with node-fibers. Currently provides sleep
and a CPU-friendly exec
.
Usage
npm install shelljs shelljs-fibers
var 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 test
Module scaffold generated by generator-goodeggs-npm.