@akshatv21/chaosproxy 1.0.0 → 1.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 +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**The localhost saboteur. Test your UI's resilience by breaking your API on purpose.**
|
|
4
4
|
|
|
5
|
-
 
|
|
5
|
+
 
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -19,7 +19,7 @@ If you only test against a "perfect" backend, you're ignoring the most critical
|
|
|
19
19
|
Install ChaosProxy globally via npm:
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
npm install -g
|
|
22
|
+
npm install -g @akshatv21/chaosproxy
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
## ⚡ Quick Start
|
|
@@ -27,7 +27,7 @@ npm install -g chaos-proxy
|
|
|
27
27
|
The fastest way to start is by using CLI flags. Proxy your traffic to a backend running on port `8080`, listen on port `3000`, and add a static `500ms` delay to every request:
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
|
|
30
|
+
chaos start -t http://localhost:8080 -p 3000 -d 500
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
**What happens next?**
|
|
@@ -106,8 +106,8 @@ Want to contribute to the chaos? We'd love the help!
|
|
|
106
106
|
1. **Clone and Install**
|
|
107
107
|
|
|
108
108
|
```bash
|
|
109
|
-
git clone https://github.com/anomalyco/
|
|
110
|
-
cd
|
|
109
|
+
git clone https://github.com/anomalyco/chaos-proxy.git
|
|
110
|
+
cd chaos-proxy
|
|
111
111
|
npm install
|
|
112
112
|
```
|
|
113
113
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akshatv21/chaosproxy",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "The localhost saboteur. Test your UI's resilience by breaking your API on purpose.",
|
|
5
5
|
"author": "Akshat Vishwakarma <a.vishwakarma1021@gmail.com> (https://vishwakarma.pro)",
|
|
6
6
|
"private": false,
|