You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-10 11:43:01 +03:00
11 lines
179 B
JavaScript
11 lines
179 B
JavaScript
import { createClient } from '@redis/client';
|
|
import RedisJSON from '.';
|
|
|
|
const client = createClient({
|
|
modules: {
|
|
json: RedisJSON,
|
|
JSON: RedisJSON
|
|
}
|
|
});
|
|
|
|
client.JSON. |