0.17.3 • Published 24 days ago

@pluv/persistance-redis v0.17.3

Weekly downloads
-
License
MIT
Repository
github
Last release
24 days ago

Disclaimer: This package is currently in preview and may have breaking changes between versions. Please wait for a v1.0.0 stable release before using this in production.

@pluv/persistance-redis

Yjs storage persistance for @pluv/io rooms on distributed systems. Available for Node.js only.

👉 See full documentation on pluv.io. 👈

Installation

# npm
npm install @pluv/persistance-redis ioredis

# yarn
yarn add @pluv/persistance-redis ioredis

# pnpm
pnpm add @pluv/persistance-redis ioredis

Basic Example

import { createIO } from "@pluv/io";
import { PersistanceRedis } from "@pluv/persistance-redis";
import { PubSubRedis } from "@pluv/pubsub-redis";
import { platformNode } from "@pluv/platform-node";
import { Redis } from "ioredis";

const redis = new Redis({ /* redis config here */ });

export const io = createIO({
    platform: platformNode({
        persistance: new PersistanceRedis({ client: cluster }),
        pubSub: new PubSubRedis({
            publisher: cluster,
            subscriber: cluster,
        }),
    }),
});

Reference

Check us out on GitHub for more information on how to use @pluv/io.

0.17.3

24 days ago

0.17.2

25 days ago

0.17.1

25 days ago

0.17.0

2 months ago

0.16.3

3 months ago

0.16.2

3 months ago

0.16.0

3 months ago

0.16.1

3 months ago

0.15.0

5 months ago

0.14.1

5 months ago

0.14.0

5 months ago

0.13.0

5 months ago

0.11.0

9 months ago

0.10.1

9 months ago

0.12.0

8 months ago

0.11.1

8 months ago

0.10.2

9 months ago

0.12.1

7 months ago

0.10.3

9 months ago

0.12.2

6 months ago

0.12.3

5 months ago

0.1.24

10 months ago

0.1.25

10 months ago

0.10.0

9 months ago

0.1.20

12 months ago

0.1.21

12 months ago

0.1.22

12 months ago

0.1.23

11 months ago

0.1.18

1 year ago

0.1.19

12 months ago

0.1.10

1 year ago

0.1.11

1 year ago

0.1.12

1 year ago

0.1.13

1 year ago

0.1.14

1 year ago

0.1.15

1 year ago

0.1.16

1 year ago

0.1.8

1 year ago

0.1.17

1 year ago

0.1.7

1 year ago

0.1.9

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.0

1 year ago