# nored

> redis-client

Latest version **1.0.2** (published 2022-01-04) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-01-04 |
| First published | 2022-01-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | mahdiazizzadeh |
| Maintainers | finalcode |
| Keywords | redis, typescript, redis-client, nored |

## Links

- npm: https://www.npmjs.com/package/nored
- Repository: https://github.com/mahdiazizzadeh/nored
- Issues: https://github.com/mahdiazizzadeh/nored/issues
- npm.io page: https://npm.io/package/nored

## 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.2 (latest) — 2022-01-04
- 1.0.1 — 2022-01-04

## README

# Introduction
## What is nored 
nored is the client of redis for node.js , written with typescript.

## Installation
```
npm i --save nored
```
## Getting started

#### commonJs
```
const {nored} = require("nored");
```

#### typescript
```
import {nored} from "nored";
```
### Example of how to use nored
```
import {nored} from "nored";

const redisClient = new nored({
    port:6379,
    host:"localhost",
});
//if you redis-server require password give the password as option

const redisClient = new nored({
    port:6379,
    host:"localhost",
    password:your password//password should be number
});
```
### Example
```
redisClient.get("keyName").then(console.log);

redisClient.get("keyName","value").then(console.log);

redisClient.append("keyName","value to append");

redisClient.hset("keyName","value");
```

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