UNPKG

planify

Version:

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

18 lines (13 loc) 334 B
'use strict'; const planify = require('../../'); function build() { return planify() .phase('foo', (phase) => { phase.step('bar', () => { process.stdout.write('foo'); process.stdout.write('bar'); process.stdout.write('foo\n bar'); }); }); } module.exports = build;