# job-queues

> Job Queue =========

Latest version **0.0.5** (published 2017-05-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install job-queues
pnpm add job-queues
yarn add job-queues
bun add job-queues
```

## 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.5 |
| Published | 2017-05-28 |
| First published | 2017-05-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ethan Wang |
| Maintainers | csehao |

## Links

- npm: https://www.npmjs.com/package/job-queues
- Repository: https://github.com/csehao/job-queue
- Homepage: https://github.com/csehao/job-queue#readme
- Issues: https://github.com/csehao/job-queue/issues
- npm.io page: https://npm.io/package/job-queues

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^4.17.4

## Recent versions

- 0.0.5 (latest) — 2017-05-28
- 0.0.4 — 2017-05-28
- 0.0.3 — 2017-05-28
- 0.0.2 — 2017-05-28

## README

# job-queue

Job Queue
=========

A small library to schedule jobs with patterns 

## Installation

  `npm install job-queues`

## Usage Example 

```js
var JobQueue = require('job-queues');

function* gen(){
    var i = 0;
    while(i <= 20){
      yield i++; 
    }
}

var jq = new JobQueue({}, 
gen(), 
function(job, done){
    console.log("Doing job ... ", job.value);
    done();
}, 
function(){
   console.log("All job done");
});

```
## Tests

  `npm test`

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