devdad-express-utils 1.1.0 → 1.1.1

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 +0 -9
  2. package/package.json +5 -1
package/README.md CHANGED
@@ -52,15 +52,6 @@ import { AppError } from "devdad-express-utils";
52
52
  throw new AppError("Validation failed", 400, ["Email is required"]);
53
53
  ```
54
54
 
55
- #### JavaScript Usage
56
-
57
- ```javascript
58
- const { AppError, catchAsync, errorHandler } = require("devdad-express-utils");
59
-
60
- // Or with ES modules
61
- import { AppError, catchAsync, errorHandler } from "devdad-express-utils";
62
- ```
63
-
64
55
  ## Error Handling Patterns
65
56
 
66
57
  ### Using AppError
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devdad-express-utils",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Reusable Express.js utilities for error handling, async wrapping, and more",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,6 +18,10 @@
18
18
  "javascript"
19
19
  ],
20
20
  "author": "Oliver Metz",
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://github.com/Devdad-Main/Express-Utils.git"
24
+ },
21
25
  "license": "ISC",
22
26
  "dependencies": {
23
27
  "express": "^5.1.0"