@zenofolio/hyper-decor 1.0.73 → 1.0.74
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 +1 -12
- package/package.json +9 -2
- package/vitest.config.mjs +0 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @zenofolio/hyper-decor (v1.0.
|
|
1
|
+
# @zenofolio/hyper-decor (v1.0.73)
|
|
2
2
|
|
|
3
3
|
Librería de decoradores para [HyperExpress](https://github.com/kartikk221/hyper-express).
|
|
4
4
|
|
|
@@ -93,17 +93,6 @@ async upload(
|
|
|
93
93
|
|
|
94
94
|
---
|
|
95
95
|
|
|
96
|
-
## Rendimiento
|
|
97
|
-
|
|
98
|
-
El sistema está diseñado para introducir la mínima latencia posible sobre HyperExpress.
|
|
99
|
-
|
|
100
|
-
| Escenario | Raw HyperExpress | @zenofolio/hyper-decor |
|
|
101
|
-
| :--- | :--- | :--- |
|
|
102
|
-
| **GET Básico** | 27,150 req/s | 26,660 req/s |
|
|
103
|
-
| **Con Transformación**| 18,120 req/s | 18,335 req/s |
|
|
104
|
-
|
|
105
|
-
---
|
|
106
|
-
|
|
107
96
|
## OpenAPI y DTOs
|
|
108
97
|
|
|
109
98
|
Es posible utilizar clases para definir los esquemas de datos que se reflejarán en la documentación OpenAPI generada.
|
package/package.json
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenofolio/hyper-decor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.74",
|
|
4
4
|
"description": "Project core with utilities and features",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "zenozaga",
|
|
7
7
|
"license": "MIT",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/zenofolio/hyper-decor.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/zenofolio/hyper-decor/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/zenofolio/hyper-decor#readme",
|
|
8
16
|
"scripts": {
|
|
9
17
|
"test": "vitest run",
|
|
10
18
|
"test:watch": "vitest",
|
|
11
19
|
"test:ui": "vitest --ui",
|
|
12
|
-
"test:server": "vitest tests/server.bench.ts",
|
|
13
20
|
"build": "tsc",
|
|
14
21
|
"publish": "npm run build && npm publish --access public"
|
|
15
22
|
},
|