@upstash/redis 0.0.0-ci.9722909577fc3b6b939d0c937c6ba5f8e8287ee4 → 0.0.0-ci.9846a4b6d92b334b3956b0947a58e9bef9c92a42-20250303091249
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 +9 -5
- package/chunk-RTZL2L77.mjs +4103 -0
- package/cloudflare.d.mts +15 -5
- package/cloudflare.d.ts +15 -5
- package/cloudflare.js +1325 -172
- package/cloudflare.mjs +38 -2970
- package/fastly.d.mts +10 -5
- package/fastly.d.ts +10 -5
- package/fastly.js +1317 -166
- package/fastly.mjs +32 -2966
- package/nodejs.d.mts +17 -24
- package/nodejs.d.ts +17 -24
- package/nodejs.js +1337 -165
- package/nodejs.mjs +65 -2978
- package/package.json +1 -54
- package/zmscore-BdNsMd17.d.mts +3727 -0
- package/zmscore-BdNsMd17.d.ts +3727 -0
- package/.npmrc +0 -1
- package/cloudflare.js.map +0 -1
- package/cloudflare.mjs.map +0 -1
- package/fastly.js.map +0 -1
- package/fastly.mjs.map +0 -1
- package/nodejs.js.map +0 -1
- package/nodejs.mjs.map +0 -1
- package/redis-e3e8473f.d.ts +0 -1795
package/README.md
CHANGED
|
@@ -7,6 +7,11 @@ of [Upstash REST API](https://docs.upstash.com/features/restapi).
|
|
|
7
7
|

|
|
8
8
|

|
|
9
9
|
|
|
10
|
+
> [!NOTE]
|
|
11
|
+
> **This project is in GA Stage.**
|
|
12
|
+
>
|
|
13
|
+
> The Upstash Professional Support fully covers this project. It receives regular updates, and bug fixes. The Upstash team is committed to maintaining and improving its functionality.
|
|
14
|
+
|
|
10
15
|
It is the only connectionless (HTTP based) Redis client and designed for:
|
|
11
16
|
|
|
12
17
|
- Serverless functions (AWS Lambda ...)
|
|
@@ -20,7 +25,7 @@ It is the only connectionless (HTTP based) Redis client and designed for:
|
|
|
20
25
|
- and other environments where HTTP is preferred over TCP.
|
|
21
26
|
|
|
22
27
|
See
|
|
23
|
-
[the list of APIs](https://
|
|
28
|
+
[the list of APIs](https://upstash.com/docs/redis/overall/rediscompatibility)
|
|
24
29
|
supported.
|
|
25
30
|
|
|
26
31
|
## Quick Start
|
|
@@ -58,7 +63,7 @@ await redis.set('key', 'value');
|
|
|
58
63
|
let data = await redis.get('key');
|
|
59
64
|
console.log(data)
|
|
60
65
|
|
|
61
|
-
await redis.set('
|
|
66
|
+
await redis.set('key3', 'value3', {ex: 1});
|
|
62
67
|
|
|
63
68
|
// sorted set
|
|
64
69
|
await redis.zadd('scores', { score: 1, member: 'team1' })
|
|
@@ -90,7 +95,7 @@ for common problems. If you can't find a solution, please
|
|
|
90
95
|
|
|
91
96
|
## Docs
|
|
92
97
|
|
|
93
|
-
See [the documentation](https://
|
|
98
|
+
See [the documentation](https://upstash.com/docs/redis/sdks/ts/overview) for
|
|
94
99
|
details.
|
|
95
100
|
|
|
96
101
|
## Contributing
|
|
@@ -105,7 +110,7 @@ the url and token
|
|
|
105
110
|
### Running tests
|
|
106
111
|
|
|
107
112
|
```sh
|
|
108
|
-
bun run test
|
|
113
|
+
bun run test
|
|
109
114
|
```
|
|
110
115
|
|
|
111
116
|
### Building
|
|
@@ -114,7 +119,6 @@ bun run test
|
|
|
114
119
|
bun run build
|
|
115
120
|
```
|
|
116
121
|
|
|
117
|
-
|
|
118
122
|
### Telemetry
|
|
119
123
|
|
|
120
124
|
This library sends anonymous telemetry data to help us improve your experience.
|