You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-01 16:46:54 +03:00
* Client: Export errors * export RedisModules & RedisScripts as well Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
19 lines
525 B
TypeScript
19 lines
525 B
TypeScript
import RedisClient from './lib/client';
|
|
import RedisCluster from './lib/cluster';
|
|
|
|
export { RedisClientType, RedisClientOptions } from './lib/client';
|
|
|
|
export { RedisModules, 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';
|