errorxplain 1.1.0 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +29 -31
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,31 +1,29 @@
1
- # errorxplain
2
-
3
- Intelligent Error Explainer CLI & Middleware for backend developers.
4
-
5
- <img src="cover.png" alt="Alt text" width="800" height="500">
6
-
7
-
8
- ## Installation
9
-
10
- ```bash
11
- npm install -g errorxplain
12
- ```
13
-
14
- ## CLI Usage
15
-
16
- ```bash
17
- errorxplain watch ./logs
18
- errorxplain explain "ECONNREFUSED 127.0.0.1:5432"
19
- ```
20
-
21
- ## Middleware Usage (Express)
22
-
23
- ```js
24
- import express from "express";
25
- import { errorExplainer } from "errorxplain/lib/middleware.js";
26
-
27
- const app = express();
28
- app.use(errorExplainer());
29
- ```
30
-
31
- Author: Shashank Neupane
1
+ # errorxplain
2
+
3
+ Intelligent Error Explainer CLI & Middleware for backend developers.
4
+
5
+
6
+ ## Installation
7
+
8
+ ```bash
9
+ npm install -g errorxplain
10
+ ```
11
+
12
+ ## CLI Usage
13
+
14
+ ```bash
15
+ errorxplain watch ./logs
16
+ errorxplain explain "ECONNREFUSED 127.0.0.1:5432"
17
+ ```
18
+
19
+ ## Middleware Usage (Express)
20
+
21
+ ```js
22
+ import express from "express";
23
+ import { errorExplainer } from "errorxplain/lib/middleware.js";
24
+
25
+ const app = express();
26
+ app.use(errorExplainer());
27
+ ```
28
+
29
+ Author: Shashank Neupane
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "errorxplain",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Intelligent Error Explainer CLI & Middleware for backend developers",
5
5
  "main": "lib/engine.js",
6
6
  "bin": {