# audio-progress-bar

> Progress Bar ==============

Latest version **1.0.9** (published 2020-09-02) · 0 weekly downloads

## Install

```sh
npm install audio-progress-bar
pnpm add audio-progress-bar
yarn add audio-progress-bar
bun add audio-progress-bar
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2020-09-02 |
| First published | 2014-03-13 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 35.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Dan Kantor |
| Maintainers | dankantor |

## Links

- npm: https://www.npmjs.com/package/audio-progress-bar
- Repository: https://github.com/dankantor/audio-progress-bar
- Issues: https://github.com/dankantor/audio-progress-bar/issues
- npm.io page: https://npm.io/package/audio-progress-bar

## Recent versions

- 1.0.9 (latest) — 2020-09-02
- 1.0.8 — 2020-06-24
- 1.0.7 — 2020-06-11
- 1.0.6 — 2020-06-09
- 1.0.5 — 2020-02-05
- 1.0.4 — 2020-02-05
- 1.0.3 — 2019-10-09
- 1.0.2 — 2019-10-05
- 1.0.1 — 2019-01-12
- 1.0.0 — 2019-01-10
- 0.0.2 — 2014-08-01
- 0.0.1 — 2014-03-13

## README

Progress Bar
==============

Handles common functionality with a media progress bar such as updating current time position, duration, 
progress bar position, loading indicator and seeking.

Connects to [PlayQueue](https://www.npmjs.com/package/playqueue) or the native Audio object. 


## Install

```
npm install audio-progress-bar
```


## Usage

```js
  import {ProgressBar} from 'audio-progress-bar';
    
  const progressBar = new ProgressBar({
    'playQueue': playQueue, // optional if audio is provided
    'audio': audioObject, // optional if playQueue is provided
    'count': '#current-time',
    'duration': '#duration',
    'timeBreak': '#time-break',
    'front': '#progress-front',
    'back': '#progress-back',
    'thumb': '#thumb'
  });
```

View the [example](example) to see how it is used.

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