An open API service indexing awesome lists of open source software.

https://github.com/myunisoft/redis

TypeScript Redis abstraction we use in backend at MyUnisoft
https://github.com/myunisoft/redis

redis

Last synced: about 1 year ago
JSON representation

TypeScript Redis abstraction we use in backend at MyUnisoft

Awesome Lists containing this project

README

          


Redis


MyUnisoft Redis package.


npm version
license
size

## 🚧 Requirements

- [Node.js](https://nodejs.org/en/) version 20 or higher.
- Docker (for running tests).

> [!TIP]
> If you ever want to setup a local instance of Redis,
> you can follow the [Redis documentation](https://redis.io/docs/getting-started/) for Mac,
> or, you can use [Memurai](https://www.memurai.com/) for Windows.

## 🚀 Getting Started

This package is available in the Node Package Repository and can be easily installed with [npm](https://docs.npmjs.com/getting-started/what-is-npm) or [yarn](https://yarnpkg.com).

```bash
$ npm i @myunisoft/redis
# or
$ yarn add @myunisoft/redis
```

---


There are multiple adapters to exploit the different abstractions available.

- Adapter
- [MemoryAdapter](./docs/adapter/memory.adapter.md)
- [RedisAdapter](./docs/adapter/redis.adapter.md)
- Abstraction
- [KVPeer](./docs/KVPeer.md)
- [TimedKVPeer](./docs/TimedKVPeer.md)
- [StoreContext](./docs/StoreContext.md)
- [PubSub](./docs/pubsub/Channel.md)
- [Stream](./docs/stream/Stream.md)
- [Intrapersonal](./docs/stream/Intrapersonal.md)
- [Interpersonal](./docs/stream/Interpersonal.md)

## Contributors ✨

[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



Nicolas Hallaert
Nicolas Hallaert

💻 ⚠️ 📖 👀
PierreDemailly
PierreDemailly

👀 ⚠️
Thomas.G
Thomas.G

💻 ⚠️ 📖 👀

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!