# paperbackswap

> Node.js bindings for PaperbackSwap API

Latest version **0.0.5** (published 2013-12-28) · 0 weekly downloads

## Install

```sh
npm install paperbackswap
pnpm add paperbackswap
yarn add paperbackswap
bun add paperbackswap
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2013-12-28 |
| First published | 2013-10-06 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Bill Pijewski |
| Maintainers | wdp |

## Links

- npm: https://www.npmjs.com/package/paperbackswap
- Repository: git@github.com:pijewski/node-paperbackswap
- Issues: https://github.com/pijewski/node-paperbackswap/issues
- npm.io page: https://npm.io/package/paperbackswap

## Dependencies (3)

- [bunyan](https://npm.io/package/bunyan.md) 0.21.4
- [xml2js](https://npm.io/package/xml2js.md) 0.2.8
- [lru-cache](https://npm.io/package/lru-cache.md) 2.3.1

## Recent versions

- 0.0.5 (latest) — 2013-12-28
- 0.0.4 — 2013-10-08
- 0.0.3 — 2013-10-07
- 0.0.2 — 2013-10-07
- 0.0.1 — 2013-10-06

## README

Node.js bindings for the Paperbackswap API.

Paperbackswap.com is a website which facilitates book swaps between members.

The module will poll the Paperbackswap API once a minute and emit a "books"
event with any books which have been posted in the last minute.  The timeout
option controls how often the API is polled.


## Example

    var PBS = require('paperbackswap');

    var options = {};
    options.timeout = 30 * 1000;   // poll once every 30 seconds

    var agent = new PBS(options);
    
    agent.on('books', function (books) {
        books.forEach(function (book) {
            console.log(book);
        });
    });
    
    agent.on('error', function (err) {
        // Handle error
    });
    
    agent.start();


## Installation

    npm install paperbackswap


## License

MIT

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