UNPKG

planify

Version:

Plan a series of steps and display the output in a beautiful way

14 lines (10 loc) 261 B
'use strict'; const planify = require('../../'); function build() { return planify() .step('Single step', () => { process.stdout.write(new Buffer('foo\n')); process.stderr.write(new Buffer('bar\n')); }); } module.exports = build;