3.0.1 • Published 8 years ago

logistic-progressor v3.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

Logistic Progressor

Build Status npm

A utility library to create an infinitely advancing progress bar.

Demo

The library exposes a stream, which emits values starting from 0 and logistically increasing up until 100. The closer the value gets to 100, the smaller jumps it takes to get the next value, thus never actually reaching 100.

Install

npm i logistic-progressor --save

Usage

const Rx = require('rx')
const create = require('logistic-progressor')
var value = false
const input = new Rx.BehaviorSubject(value)

create(input).subscribe(x => console.log(x))

setInterval(() => {
  value = ! value
  input.onNext(value)
}, 1000)
3.0.1

8 years ago

3.0.0

8 years ago

2.2.0

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

8 years ago