# simp-bar

> use cli-progress module simpler

Latest version **0.0.4** (published 2022-05-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install simp-bar
pnpm add simp-bar
yarn add simp-bar
bun add simp-bar
```

## 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.0.4 |
| Published | 2022-05-20 |
| First published | 2022-05-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | taeseong14 |
| Maintainers | taeseong14 |
| Keywords | cli-progress, progress bar |

## Links

- npm: https://www.npmjs.com/package/simp-bar
- npm.io page: https://npm.io/package/simp-bar

## Dependencies (1)

- [cli-progress](https://npm.io/package/cli-progress.md) ^3.11.1

## Recent versions

- 0.0.4 (latest) — 2022-05-20
- 0.0.3 — 2022-05-20
- 0.0.2 — 2022-05-20
- 0.0.1 — 2022-05-20

## README

# simp-bar
Simple Progress Bar for module 'cli-progress'

## Installing
```bash
$ npm i simp-bar
```

## Methods
- constructor(max: number, current?: number, options?: [Object](#options))
    - make a bar

- set(current: number)
    - set current value

- increment()
    - increase value 1

- stop()

## Example
```javascript
const Bar = require('simp-bar');

const bar = new Bar(100);

bar.set(50);
bar.increment();

bar.stop();
```

### Options
- format(string): Bar string format
    - {bar}
    - {percentage}
    - {value}
    - {total}
    - {ETA}
    - {speed}

- presets(string): Bar style
    - legacy
    - rect
    - shadow_classic
    - shadow_gray

- barCompleteChar(string)
- barIncompleteChar(string)

- stopOnComplete(boolean)
    - default: true

- hideCursor(boolean)
    - default: false

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