# exponential-progress

> Simulate progress using an exponential function.

Latest version **2.0.0** (published 2020-02-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install exponential-progress
pnpm add exponential-progress
yarn add exponential-progress
bun add exponential-progress
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2020-02-14 |
| First published | 2020-02-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jochen Bernard |
| Maintainers | jochenbe |
| Keywords | simulate, exponential, progress |

## Links

- npm: https://www.npmjs.com/package/exponential-progress
- Repository: https://github.com/JochenBe/exponential-progress
- Homepage: https://github.com/JochenBe/exponential-progress#readme
- Issues: https://github.com/JochenBe/exponential-progress/issues
- npm.io page: https://npm.io/package/exponential-progress

## Recent versions

- 2.0.0 (latest) — 2020-02-14
- 1.0.2 — 2020-02-14
- 1.0.1 — 2020-02-13
- 1.0.0 — 2020-02-13

## README

# exponential-progress

Simulate progress using an exponential function.

## Install

```shell
$ npm install exponential-progress
```

## Usage

```typescript
import ExponentialProgress from "exponential-progress";

const progress = new ExponentialProgress(10000);

setTimeout(() => {
  console.log(progress.progress);
}, 500);
```

## API

#### ExponentialProgress(time)

##### time

Type: number

Average time in milliseconds for task to complete.

#### ExponentialProgress.start()

Sets the progress starting point to now.
_(**optional**: if not called, the moment of instance creation will be used)_

#### ExponentialProgress.progress

The current progress from 0 to 1.

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