worker-lb 0.0.1 → 0.0.2
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 +2 -2
- package/package.json +1 -4
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# worker-lb
|
|
2
2
|
|
|
3
3
|
> [!NOTE]
|
|
4
|
-
>
|
|
4
|
+
> I don't know if you should use this in production just yet, this is more of an experiment and by no means is battle-tested.
|
|
5
5
|
|
|
6
6
|
worker-lb is a small and extensible load balancer built on Cloudflare Workers. It's basically a poor mans Cloudflare Load Balancer, but running on Cloudflare Workers, because why not.
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ worker-lb is a small and extensible load balancer built on Cloudflare Workers. I
|
|
|
9
9
|
|
|
10
10
|
- Failover between multiple HTTP endpoints
|
|
11
11
|
- Health checks with customizable intervals and timeouts
|
|
12
|
-
-
|
|
12
|
+
- Recovery function to dump requests that did not reach any healthy endpoints.
|
|
13
13
|
|
|
14
14
|
## Use Cases
|
|
15
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "worker-lb",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"module": "src/index.ts",
|
|
@@ -8,9 +8,6 @@
|
|
|
8
8
|
"files": [
|
|
9
9
|
"src/index.ts"
|
|
10
10
|
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"publish": "bun publish"
|
|
13
|
-
},
|
|
14
11
|
"exports": {
|
|
15
12
|
".": {
|
|
16
13
|
"import": "./src/index.ts",
|