# couch2redis

> A listener that listens to couch db events and updates a redis key associated with a sortedset

Latest version **1.0.4** (published 2014-09-01) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2014-09-01 |
| First published | 2014-07-31 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Faiq |
| Maintainers | faiqyou |
| Keywords | redis, walker, updater, couchdb, follower |

## Links

- npm: https://www.npmjs.com/package/couch2redis
- npm.io page: https://npm.io/package/couch2redis

## Dependencies (4)

- [redis](https://npm.io/package/redis.md) ^0.11.0
- [follow](https://npm.io/package/follow.md) ^0.11.2
- [seq-file](https://npm.io/package/seq-file.md) ^1.0.2
- [fakeredis](https://npm.io/package/fakeredis.md) ^0.2.1

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2014-09-01
- 1.0.3 — 2014-08-22
- 1.0.2 — 2014-08-22
- 1.0.1 — 2014-08-22
- 1.0.0 — 2014-08-08
- 0.0.1 — 2014-08-01
- 0.0.0 — 2014-07-31

## README

#Rediswalker 
---

##Overview: 


##What the structure should look like:  

```
	redisKey: { 
		 obj1: unix_epoch_timestamp,
		 obj2: unix_epoch_timestamp,
		 ...
		 objn: unix_epoch_timestamp
	}
```

The ```redisKey``` in this key should be associated with a redis sorted set. 

##How to use it: 

1. Create a new instance of this walker with the appropriate params
``` 
var walker = new Walker(couchUrl, sortedSetKey); 

``` 

2. Daemonize the process, so it runs forever in the background
3. Done!

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