# ascii-pipeline

> 📟 ascii pipelines made easy

Latest version **0.2.1** (published 2022-12-02) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install ascii-pipeline
pnpm add ascii-pipeline
yarn add ascii-pipeline
bun add ascii-pipeline
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2022-12-02 |
| First published | 2018-01-01 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 29.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Gabriel J. Csapo |
| Maintainers | gabrielcsapo |

## Links

- npm: https://www.npmjs.com/package/ascii-pipeline
- Repository: https://github.com/gabrielcsapo/ascii-pipeline
- Homepage: https://github.com/gabrielcsapo/ascii-pipeline#readme
- Issues: https://github.com/gabrielcsapo/ascii-pipeline/issues
- npm.io page: https://npm.io/package/ascii-pipeline

## Recent versions

- 0.2.1 (latest) — 2022-12-02
- 0.2.0 — 2018-12-08
- 0.1.0 — 2018-11-27
- 0.0.3 — 2018-01-03
- 0.0.2 — 2018-01-01
- 0.0.1 — 2018-01-01

## README

# ascii-pipeline

> 📟 ascii pipelines made easy

[![Npm Version](https://img.shields.io/npm/v/ascii-pipeline.svg)](https://www.npmjs.com/package/ascii-pipeline)
[![Build Status](https://travis-ci.org/gabrielcsapo/ascii-pipeline.svg?branch=master)](https://travis-ci.org/gabrielcsapo/ascii-pipeline)
[![Dependency Status](https://starbuck.gabrielcsapo.com/badge/github/gabrielcsapo/ascii-pipeline/status.svg)](https://starbuck.gabrielcsapo.com/github/gabrielcsapo/ascii-pipeline)
[![devDependency Status](https://starbuck.gabrielcsapo.com/badge/github/gabrielcsapo/ascii-pipeline/dev-status.svg)](https://starbuck.gabrielcsapo.com/github/gabrielcsapo/ascii-pipeline#info=devDependencies)
[![Coverage Status](https://lcov-server.gabrielcsapo.com/badge/github%2Ecom/gabrielcsapo/ascii-pipeline.svg)](https://lcov-server.gabrielcsapo.com/coverage/github%2Ecom/gabrielcsapo/ascii-pipeline)
[![npm](https://img.shields.io/npm/dt/ascii-pipeline.svg?maxAge=2592000)]()
[![npm](https://img.shields.io/npm/dm/ascii-pipeline.svg?maxAge=2592000)]()

## 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:

<p align="center">
  <img height="350px" src="./docs/output.png"/>
</p>

---
_Source: https://npm.io/package/ascii-pipeline · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
