🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more
Socket
Book a DemoInstallSign in
Socket

ascii-pipeline

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ascii-pipeline

📟 ascii pipelines made easy

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

ascii-pipeline

📟 ascii pipelines made easy

Npm Version Build Status Dependency Status devDependency Status Coverage Status npm npm

Installation

npm install ascii-pipeline --save

Usage

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:

FAQs

Package last updated on 02 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts