redis 4.0.2 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -11
- package/dist/index.d.ts +21 -0
- package/dist/index.js +3 -0
- package/package.json +8 -11
package/README.md
CHANGED
|
@@ -8,6 +8,19 @@
|
|
|
8
8
|
|
|
9
9
|
node-redis is a modern, high performance [Redis](https://redis.io) client for Node.js with built-in support for Redis 6.2 commands and modules including [RediSearch](https://redisearch.io) and [RedisJSON](https://redisjson.io).
|
|
10
10
|
|
|
11
|
+
|
|
12
|
+
## Packages
|
|
13
|
+
|
|
14
|
+
| Name | Description |
|
|
15
|
+
|---------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
16
|
+
| [redis](./) | [](https://www.npmjs.com/package/redis) [](https://www.npmjs.com/package/redis) |
|
|
17
|
+
| [@node-redis/client](./packages/client) | [](https://www.npmjs.com/package/@node-redis/client) [](https://www.npmjs.com/package/@node-redis/client) [](https://redis.js.org/documentation/client/) |
|
|
18
|
+
| [@node-redis/bloom](./packages/bloom) | [](https://www.npmjs.com/package/@node-redis/bloom) [](https://www.npmjs.com/package/@node-redis/bloom) [](https://redis.js.org/documentation/bloom/) [Redis Bloom](https://oss.redis.com/redisbloom/) commands |
|
|
19
|
+
| [@node-redis/graph](./packages/graph) | [](https://www.npmjs.com/package/@node-redis/graph) [](https://www.npmjs.com/package/@node-redis/graph) [](https://redis.js.org/documentation/graph/) [Redis Graph](https://oss.redis.com/redisgraph/) commands |
|
|
20
|
+
| [@node-redis/json](./packages/json) | [](https://www.npmjs.com/package/@node-redis/json) [](https://www.npmjs.com/package/@node-redis/json) [](https://redis.js.org/documentation/json/) [Redis JSON](https://oss.redis.com/redisjson/) commands |
|
|
21
|
+
| [@node-redis/search](./packages/search) | [](https://www.npmjs.com/package/@node-redis/search) [](https://www.npmjs.com/package/@node-redis/search) [](https://redis.js.org/documentation/search/) [Redis Search](https://oss.redis.com/redisearch/) commands |
|
|
22
|
+
| [@node-redis/time-series](./packages/time-series) | [](https://www.npmjs.com/package/@node-redis/time-series) [](https://www.npmjs.com/package/@node-redis/time-series) [](https://redis.js.org/documentation/time-series/) [Redis Time-Series](https://oss.redis.com/redistimeseries/) commands |
|
|
23
|
+
|
|
11
24
|
## Installation
|
|
12
25
|
|
|
13
26
|
```bash
|
|
@@ -319,17 +332,6 @@ Node Redis is supported with the following versions of Redis:
|
|
|
319
332
|
|
|
320
333
|
> Node Redis should work with older versions of Redis, but it is not fully tested and we cannot offer support.
|
|
321
334
|
|
|
322
|
-
## Packages
|
|
323
|
-
|
|
324
|
-
| Name | Description |
|
|
325
|
-
|---------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
326
|
-
| [redis](./) | [](https://www.npmjs.com/package/redis) [](https://www.npmjs.com/package/redis) |
|
|
327
|
-
| [@node-redis/client](./packages/client) | [](https://www.npmjs.com/package/@node-redis/client) [](https://www.npmjs.com/package/@node-redis/client) [](https://redis.js.org/documentation/client/) |
|
|
328
|
-
| [@node-redis/bloom](./packages/bloom) | [](https://www.npmjs.com/package/@node-redis/bloom) [](https://www.npmjs.com/package/@node-redis/bloom) [](https://redis.js.org/documentation/bloom/) [Redis Bloom](https://oss.redis.com/redisbloom/) commands |
|
|
329
|
-
| [@node-redis/json](./packages/json) | [](https://www.npmjs.com/package/@node-redis/json) [](https://www.npmjs.com/package/@node-redis/json) [](https://redis.js.org/documentation/json/) [Redis JSON](https://oss.redis.com/redisjson/) commands |
|
|
330
|
-
| [@node-redis/search](./packages/search) | [](https://www.npmjs.com/package/@node-redis/search) [](https://www.npmjs.com/package/@node-redis/search) [](https://redis.js.org/documentation/search/) [Redis Search](https://oss.redis.com/redisearch/) commands |
|
|
331
|
-
| [@node-redis/time-series](./packages/time-series) | [](https://www.npmjs.com/package/@node-redis/time-series) [](https://www.npmjs.com/package/@node-redis/time-series) [](https://redis.js.org/documentation/time-series/) [Redis Time-Series](https://oss.redis.com/redistimeseries/) commands |
|
|
332
|
-
|
|
333
335
|
## Contributing
|
|
334
336
|
|
|
335
337
|
If you'd like to contribute, check out the [contributing guide](CONTRIBUTING.md).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,31 @@ import { RedisClientOptions, RedisClientType, RedisClusterOptions, RedisClusterT
|
|
|
2
2
|
import { RedisScripts } from '@node-redis/client/dist/lib/commands';
|
|
3
3
|
export * from '@node-redis/client';
|
|
4
4
|
export * from '@node-redis/bloom';
|
|
5
|
+
export * from '@node-redis/graph';
|
|
5
6
|
export * from '@node-redis/json';
|
|
6
7
|
export * from '@node-redis/search';
|
|
7
8
|
export * from '@node-redis/time-series';
|
|
8
9
|
declare const modules: {
|
|
10
|
+
graph: {
|
|
11
|
+
CONFIG_GET: typeof import("@node-redis/graph/dist/commands/CONFIG_GET");
|
|
12
|
+
configGet: typeof import("@node-redis/graph/dist/commands/CONFIG_GET");
|
|
13
|
+
CONFIG_SET: typeof import("@node-redis/graph/dist/commands/CONFIG_SET");
|
|
14
|
+
configSet: typeof import("@node-redis/graph/dist/commands/CONFIG_SET");
|
|
15
|
+
DELETE: typeof import("@node-redis/graph/dist/commands/DELETE");
|
|
16
|
+
delete: typeof import("@node-redis/graph/dist/commands/DELETE");
|
|
17
|
+
EXPLAIN: typeof import("@node-redis/graph/dist/commands/EXPLAIN");
|
|
18
|
+
explain: typeof import("@node-redis/graph/dist/commands/EXPLAIN");
|
|
19
|
+
LIST: typeof import("@node-redis/graph/dist/commands/LIST");
|
|
20
|
+
list: typeof import("@node-redis/graph/dist/commands/LIST");
|
|
21
|
+
PROFILE: typeof import("@node-redis/graph/dist/commands/PROFILE");
|
|
22
|
+
profile: typeof import("@node-redis/graph/dist/commands/PROFILE");
|
|
23
|
+
QUERY_RO: typeof import("@node-redis/graph/dist/commands/QUERY_RO");
|
|
24
|
+
queryRo: typeof import("@node-redis/graph/dist/commands/QUERY_RO");
|
|
25
|
+
QUERY: typeof import("@node-redis/graph/dist/commands/QUERY");
|
|
26
|
+
query: typeof import("@node-redis/graph/dist/commands/QUERY");
|
|
27
|
+
SLOWLOG: typeof import("@node-redis/graph/dist/commands/SLOWLOG");
|
|
28
|
+
slowLog: typeof import("@node-redis/graph/dist/commands/SLOWLOG");
|
|
29
|
+
};
|
|
9
30
|
json: {
|
|
10
31
|
ARRAPPEND: typeof import("@node-redis/json/dist/commands/ARRAPPEND");
|
|
11
32
|
arrAppend: typeof import("@node-redis/json/dist/commands/ARRAPPEND");
|
package/dist/index.js
CHANGED
|
@@ -13,16 +13,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
13
13
|
exports.createCluster = exports.createClient = void 0;
|
|
14
14
|
const client_1 = require("@node-redis/client");
|
|
15
15
|
const bloom_1 = require("@node-redis/bloom");
|
|
16
|
+
const graph_1 = require("@node-redis/graph");
|
|
16
17
|
const json_1 = require("@node-redis/json");
|
|
17
18
|
const search_1 = require("@node-redis/search");
|
|
18
19
|
const time_series_1 = require("@node-redis/time-series");
|
|
19
20
|
__exportStar(require("@node-redis/client"), exports);
|
|
20
21
|
__exportStar(require("@node-redis/bloom"), exports);
|
|
22
|
+
__exportStar(require("@node-redis/graph"), exports);
|
|
21
23
|
__exportStar(require("@node-redis/json"), exports);
|
|
22
24
|
__exportStar(require("@node-redis/search"), exports);
|
|
23
25
|
__exportStar(require("@node-redis/time-series"), exports);
|
|
24
26
|
const modules = {
|
|
25
27
|
...bloom_1.default,
|
|
28
|
+
graph: graph_1.default,
|
|
26
29
|
json: json_1.default,
|
|
27
30
|
ft: search_1.default,
|
|
28
31
|
ts: time_series_1.default
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redis",
|
|
3
3
|
"description": "A modern, high performance Redis client",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.3",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -23,11 +23,12 @@
|
|
|
23
23
|
"gh-pages": "gh-pages -d ./documentation -e ./documentation -u 'documentation-bot <documentation@bot>'"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@node-redis/bloom": "
|
|
27
|
-
"@node-redis/client": "
|
|
28
|
-
"@node-redis/
|
|
29
|
-
"@node-redis/
|
|
30
|
-
"@node-redis/
|
|
26
|
+
"@node-redis/bloom": "1.0.1",
|
|
27
|
+
"@node-redis/client": "1.0.3",
|
|
28
|
+
"@node-redis/graph": "1.0.0",
|
|
29
|
+
"@node-redis/json": "1.0.2",
|
|
30
|
+
"@node-redis/search": "1.0.2",
|
|
31
|
+
"@node-redis/time-series": "1.0.1"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
34
|
"@tsconfig/node12": "^1.0.9",
|
|
@@ -42,9 +43,5 @@
|
|
|
42
43
|
"bugs": {
|
|
43
44
|
"url": "https://github.com/redis/node-redis/issues"
|
|
44
45
|
},
|
|
45
|
-
"homepage": "https://github.com/redis/node-redis"
|
|
46
|
-
"engines": {
|
|
47
|
-
"npm": ">=7",
|
|
48
|
-
"typescript": ">=4"
|
|
49
|
-
}
|
|
46
|
+
"homepage": "https://github.com/redis/node-redis"
|
|
50
47
|
}
|