# personal-assistant

> A distributed websocket based mechanism for managing queries and pushing updates when those queries change

Latest version **0.2.0** (published 2013-05-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install personal-assistant
pnpm add personal-assistant
yarn add personal-assistant
bun add personal-assistant
```

## 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.2.0 |
| Published | 2013-05-20 |
| First published | 2013-03-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | James Sharp |
| Maintainers | jamessharp |

## Links

- npm: https://www.npmjs.com/package/personal-assistant
- Repository: https://github.com/ortoo/personal-assistant
- npm.io page: https://npm.io/package/personal-assistant

## Dependencies (5)

- [q](https://npm.io/package/q.md) *
- [async](https://npm.io/package/async.md) *
- [pusher](https://npm.io/package/pusher.md) *
- [winston](https://npm.io/package/winston.md) *
- [underscore](https://npm.io/package/underscore.md) *

## Recent versions

- 0.2.0 (latest) — 2013-05-20
- 0.1.0 — 2013-04-22
- 0.0.4 — 2013-04-16
- 0.0.3 — 2013-03-16
- 0.0.2 — 2013-03-16
- 0.0.1 — 2013-03-15

## README

personal-assistant
==================

A distributed websocket based mechanism for managing queries and pushing updates when the queries change

```javascript
var PAFactory = require('personal-assistant');

var PersonalAssistant = PAFactory(options);

```

# Options #

* io - the socket.io server to use
* heartbeatInterval - interval in ms to use as a heartbeat. Defaults to 1min
* redisPub - a redis client to use to publish messages
* redisSub - a redis client to subscribe to messages
* redisClient - a redis client to use for other messages
* handleUpdates - should the PA handle looking for updates etc. Defaults to `false`
* handleCleanup - should the PA handle cleaning up dead resources? Defaults to `false`
* pusher - object with the `appId`, `key` and `secret` attributes

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