ascii-pipeline
v0.2.1
Published
π ascii pipelines made easy
Downloads
157
Readme
ascii-pipeline
π ascii pipelines made easy
Installation
npm install ascii-pipeline --saveUsage
const Pipeline = require('ascii-pipeline');
const pipe = new Pipeline([{
name: 'starting',
status: 'SUCCESS',
}, {
name: 'nested',
status: 'SUCCESS',
children: [{
name: 'child',
status: 'FAIL'
}, {
name: 'child1',
status: 'SUCCESS'
},]
},{
name: 'almost',
status: 'IN_PROGRESS'
},{
name: 'ending',
status: 'UNKNOWN'
}]);
console.log(pipe.toString());This will output:
β starting β¬ nested β¬ β almost β β ending β
β child β€
β child1 β Or the colorized version:
