# redisc

> create redis clients with connection strings

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

## Install

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

## 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-08 |
| First published | 2013-05-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Agile Diagnosis |
| Maintainers | jden |
| Keywords | redis, connection string |

## Links

- npm: https://www.npmjs.com/package/redisc
- Repository: git@github.com:agilemd/redisc
- npm.io page: https://npm.io/package/redisc

## Dependencies (1)

- [redis](https://npm.io/package/redis.md) ~0.8.3

## Recent versions

- 0.2.0 (latest) — 2013-05-08
- 0.1.1 — 2013-05-08
- 0.1.0 — 2013-05-03

## README

# redisc
create redis clients with connection strings

## usage

    var redisc = require('redisc')

    redisc('redis://localhost/0')
    // => redis client

    redisc('redis://authkey@localhost/1')
    // => authenticated redis client


## api

### `redisc(connStr: String) => `[RedisClient](https://npmjs.org/package/redis)

Returns an initialized RedisClient, using the npm `[redis](https://npmjs.org/package/redis)` module

### `redisc.parse(connStr: String) => Object`

Returns an object with the various redis connection properties:

    {
      auth: String?,
      host: String, // default 'localhost'
      port: Number, // default 6397
      db: Number    // default 0
    }

## installation

    $ npm install redisc


## running the tests

From package root:

    $ npm install
    $ npm test


## contributors

- jden <jason@denizac.org>


## license

MIT. (c) 2013 Agile Diagnosis <hello@agilediagnosis.com>. See LICENSE.md

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