https://github.com/gabrielcsapo/ascii-pipeline
📟 ascii pipelines made easy
https://github.com/gabrielcsapo/ascii-pipeline
ascii javascript pipeline utility
Last synced: 10 days ago
JSON representation
📟 ascii pipelines made easy
- Host: GitHub
- URL: https://github.com/gabrielcsapo/ascii-pipeline
- Owner: gabrielcsapo
- License: apache-2.0
- Created: 2018-01-01T02:13:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T22:02:05.000Z (over 2 years ago)
- Last Synced: 2025-06-20T21:13:52.587Z (12 days ago)
- Topics: ascii, javascript, pipeline, utility
- Language: JavaScript
- Homepage: https://gabrielcsapo.github.io/ascii-pipeline
- Size: 650 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ascii-pipeline
> 📟 ascii pipelines made easy
[](https://www.npmjs.com/package/ascii-pipeline)
[](https://travis-ci.org/gabrielcsapo/ascii-pipeline)
[](https://starbuck.gabrielcsapo.com/github/gabrielcsapo/ascii-pipeline)
[](https://starbuck.gabrielcsapo.com/github/gabrielcsapo/ascii-pipeline#info=devDependencies)
[](https://lcov-server.gabrielcsapo.com/coverage/github%2Ecom/gabrielcsapo/ascii-pipeline)
[]()
[]()## Installation
```
npm install ascii-pipeline --save
```## Usage
```js
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:
```bash
─ starting ┬ nested ┬ ─ almost ─ ─ ending ─
├ child ┤
└ child1 ┘
```Or the colorized version:
![]()