1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-01 16:46:54 +03:00
Files
node-redis/packages/client/index.ts
2023-02-24 17:34:00 -05:00

25 lines
720 B
TypeScript

import RedisClient from './lib/client';
import RedisCluster from './lib/cluster';
export { RedisClientType, RedisClientOptions } from './lib/client';
export { RedisModules, RedisFunctions, RedisScripts } from './lib/commands';
export const createClient = RedisClient.create;
export const commandOptions = RedisClient.commandOptions;
export { RedisClusterType, RedisClusterOptions } from './lib/cluster';
export const createCluster = RedisCluster.create;
export { defineScript } from './lib/lua-script';
export * from './lib/errors';
export { GeoReplyWith } from './lib/commands/generic-transformers';
export { SetOptions } from './lib/commands/SET';
export { RedisFlushModes } from './lib/commands/FLUSHALL';