# paperboy-push-service

> _Paperboy Push Service_ is a simple webservice that will convert an incoming HTTP request into a message in paperboy's queue thus abstracting the complexity of multiplexing a notification to the clients.

Latest version **1.1.2** (published 2019-01-18) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install paperboy-push-service
pnpm add paperboy-push-service
yarn add paperboy-push-service
bun add paperboy-push-service
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2019-01-18 |
| First published | 2018-07-09 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.12.0 |
| Dependencies | 5 |
| Unpacked size | 14.8 KB |
| Known vulnerabilities | 0 (+8 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 13 |
| Author | Arne Diekmann |
| Maintainers | psiekmann |

## Links

- npm: https://www.npmjs.com/package/paperboy-push-service
- Repository: https://github.com/neoskop/paperboy
- Homepage: https://neolabs.io
- Issues: https://github.com/neoskop/paperboy/issues
- npm.io page: https://npm.io/package/paperboy-push-service

## Dependencies (5)

- [amqplib](https://npm.io/package/amqplib.md) 0.5.2
- [convict](https://npm.io/package/convict.md) 4.3.2
- [express](https://npm.io/package/express.md) 4.16.3
- [passport](https://npm.io/package/passport.md) 0.4.0
- [passport-http-bearer](https://npm.io/package/passport-http-bearer.md) 1.0.1

## Recent versions

- 1.1.2 (latest) — 2019-01-18
- 1.1.1 — 2019-01-04
- 1.1.0 — 2018-12-28
- 1.0.0 — 2018-11-28
- 0.11.0 — 2018-11-19
- 0.10.8 — 2018-10-29
- 0.10.7 — 2018-10-29
- 0.10.6 — 2018-07-09

## README

# Paperboy Push Service

_Paperboy Push Service_ is a simple webservice that will convert an incoming HTTP request into a message in paperboy's queue thus abstracting the complexity of multiplexing a notification to the clients.

## Usage

You push a message like

```
{"foo":"bar","source":"test"}
```

into the queue with the following cURL command:

```
curl -X POST \
  http://localhost:8081/ \
  -H 'Authorization: Bearer test' \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'source=test&payload=%7B%22foo%22%3A%22bar%22%7D'
```

The parameters `source` and `payload` are optional. The default message will look like this:

```
{"source":"push-notifier"}
```

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