burger-api 0.5.0 → 0.5.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.
- package/README.md +9 -2
- package/dist/src/core/api-router.d.ts +0 -53
- package/dist/src/core/api-router.js +3 -93
- package/dist/src/core/openapi.js +1 -58
- package/dist/src/core/page-router.d.ts +0 -43
- package/dist/src/core/page-router.js +1 -72
- package/dist/src/core/server.d.ts +0 -10
- package/dist/src/core/server.js +0 -16
- package/dist/src/index.d.ts +0 -57
- package/dist/src/index.js +8 -280
- package/dist/src/middleware/validator.d.ts +0 -12
- package/dist/src/middleware/validator.js +9 -59
- package/dist/src/types/index.d.ts +0 -143
- package/dist/src/utils/error.d.ts +0 -16
- package/dist/src/utils/error.js +0 -24
- package/dist/src/utils/index.d.ts +0 -17
- package/dist/src/utils/index.js +0 -22
- package/dist/src/utils/response.d.ts +0 -9
- package/dist/src/utils/response.js +0 -9
- package/dist/src/utils/routing.d.ts +0 -28
- package/dist/src/utils/routing.js +3 -41
- package/dist/src/utils/wildcard.d.ts +3 -0
- package/dist/src/utils/wildcard.js +30 -0
- package/package.json +88 -88
package/package.json
CHANGED
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "burger-api",
|
|
3
|
-
"version": "0.5.
|
|
4
|
-
"author": "Isfhan Ahmed",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"module": "dist/src/index.js",
|
|
7
|
-
"types": "dist/src/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"typecheck": "tsc --noEmit",
|
|
13
|
-
"build": "tsc --project tsconfig.build.json",
|
|
14
|
-
"prepare": "bun run build",
|
|
15
|
-
"test": "bun test",
|
|
16
|
-
"dev": "bun run examples/file-base-static-page-routing-app/index.ts"
|
|
17
|
-
},
|
|
18
|
-
"keywords": [
|
|
19
|
-
"burger-api",
|
|
20
|
-
"burger-api-framework",
|
|
21
|
-
"bun",
|
|
22
|
-
"bunjs",
|
|
23
|
-
"bun-framework",
|
|
24
|
-
"fast-backend",
|
|
25
|
-
"javascript-backend",
|
|
26
|
-
"high-performance",
|
|
27
|
-
"esm",
|
|
28
|
-
"typescript",
|
|
29
|
-
"openapi",
|
|
30
|
-
"swagger-ui",
|
|
31
|
-
"declarative-routing",
|
|
32
|
-
"api-framework",
|
|
33
|
-
"modern-backend",
|
|
34
|
-
"backend-framework",
|
|
35
|
-
"server",
|
|
36
|
-
"bun-native",
|
|
37
|
-
"js-backend",
|
|
38
|
-
"fast-api",
|
|
39
|
-
"scalable-backend",
|
|
40
|
-
"backend-development",
|
|
41
|
-
"modern-api",
|
|
42
|
-
"api-development",
|
|
43
|
-
"backend-engine",
|
|
44
|
-
"efficient",
|
|
45
|
-
"minimalist-backend",
|
|
46
|
-
"bun-powered",
|
|
47
|
-
"open-source",
|
|
48
|
-
"typescript-backend",
|
|
49
|
-
"performance",
|
|
50
|
-
"rapid-development",
|
|
51
|
-
"web-framework",
|
|
52
|
-
"api-server",
|
|
53
|
-
"dynamic-routing",
|
|
54
|
-
"backend-routing",
|
|
55
|
-
"extensible",
|
|
56
|
-
"modular",
|
|
57
|
-
"declarative-api",
|
|
58
|
-
"lightweight",
|
|
59
|
-
"contemporary-backend",
|
|
60
|
-
"fast-javascript",
|
|
61
|
-
"bun-js-framework",
|
|
62
|
-
"bun-backend",
|
|
63
|
-
"bun-api-framework",
|
|
64
|
-
"pakistan-backend",
|
|
65
|
-
"pakistan-api-framework",
|
|
66
|
-
"pakistan-api-server",
|
|
67
|
-
"pakistan-backend-framework",
|
|
68
|
-
"pakistan-bunjs-framework",
|
|
69
|
-
"pakistan-javascript-framework"
|
|
70
|
-
],
|
|
71
|
-
"license": "MIT",
|
|
72
|
-
"repository": {
|
|
73
|
-
"type": "git",
|
|
74
|
-
"url": "git+https://github.com/isfhan/burger-api.git"
|
|
75
|
-
},
|
|
76
|
-
"bugs": {
|
|
77
|
-
"url": "https://github.com/isfhan/burger-api/issues"
|
|
78
|
-
},
|
|
79
|
-
"homepage": "https://burger-api.com",
|
|
80
|
-
"dependencies": {
|
|
81
|
-
"zod": "^4.0.17"
|
|
82
|
-
},
|
|
83
|
-
"devDependencies": {
|
|
84
|
-
"@types/bun": "latest"
|
|
85
|
-
},
|
|
86
|
-
"peerDependencies": {
|
|
87
|
-
"typescript": "^5.7.3"
|
|
88
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "burger-api",
|
|
3
|
+
"version": "0.5.1",
|
|
4
|
+
"author": "Isfhan Ahmed",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "dist/src/index.js",
|
|
7
|
+
"types": "dist/src/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"typecheck": "tsc --noEmit",
|
|
13
|
+
"build": "tsc --project tsconfig.build.json",
|
|
14
|
+
"prepare": "bun run build",
|
|
15
|
+
"test": "bun test",
|
|
16
|
+
"dev": "bun run examples/file-base-static-page-routing-app/index.ts"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"burger-api",
|
|
20
|
+
"burger-api-framework",
|
|
21
|
+
"bun",
|
|
22
|
+
"bunjs",
|
|
23
|
+
"bun-framework",
|
|
24
|
+
"fast-backend",
|
|
25
|
+
"javascript-backend",
|
|
26
|
+
"high-performance",
|
|
27
|
+
"esm",
|
|
28
|
+
"typescript",
|
|
29
|
+
"openapi",
|
|
30
|
+
"swagger-ui",
|
|
31
|
+
"declarative-routing",
|
|
32
|
+
"api-framework",
|
|
33
|
+
"modern-backend",
|
|
34
|
+
"backend-framework",
|
|
35
|
+
"server",
|
|
36
|
+
"bun-native",
|
|
37
|
+
"js-backend",
|
|
38
|
+
"fast-api",
|
|
39
|
+
"scalable-backend",
|
|
40
|
+
"backend-development",
|
|
41
|
+
"modern-api",
|
|
42
|
+
"api-development",
|
|
43
|
+
"backend-engine",
|
|
44
|
+
"efficient",
|
|
45
|
+
"minimalist-backend",
|
|
46
|
+
"bun-powered",
|
|
47
|
+
"open-source",
|
|
48
|
+
"typescript-backend",
|
|
49
|
+
"performance",
|
|
50
|
+
"rapid-development",
|
|
51
|
+
"web-framework",
|
|
52
|
+
"api-server",
|
|
53
|
+
"dynamic-routing",
|
|
54
|
+
"backend-routing",
|
|
55
|
+
"extensible",
|
|
56
|
+
"modular",
|
|
57
|
+
"declarative-api",
|
|
58
|
+
"lightweight",
|
|
59
|
+
"contemporary-backend",
|
|
60
|
+
"fast-javascript",
|
|
61
|
+
"bun-js-framework",
|
|
62
|
+
"bun-backend",
|
|
63
|
+
"bun-api-framework",
|
|
64
|
+
"pakistan-backend",
|
|
65
|
+
"pakistan-api-framework",
|
|
66
|
+
"pakistan-api-server",
|
|
67
|
+
"pakistan-backend-framework",
|
|
68
|
+
"pakistan-bunjs-framework",
|
|
69
|
+
"pakistan-javascript-framework"
|
|
70
|
+
],
|
|
71
|
+
"license": "MIT",
|
|
72
|
+
"repository": {
|
|
73
|
+
"type": "git",
|
|
74
|
+
"url": "git+https://github.com/isfhan/burger-api.git"
|
|
75
|
+
},
|
|
76
|
+
"bugs": {
|
|
77
|
+
"url": "https://github.com/isfhan/burger-api/issues"
|
|
78
|
+
},
|
|
79
|
+
"homepage": "https://burger-api.com",
|
|
80
|
+
"dependencies": {
|
|
81
|
+
"zod": "^4.0.17"
|
|
82
|
+
},
|
|
83
|
+
"devDependencies": {
|
|
84
|
+
"@types/bun": "latest"
|
|
85
|
+
},
|
|
86
|
+
"peerDependencies": {
|
|
87
|
+
"typescript": "^5.7.3"
|
|
88
|
+
}
|
|
89
89
|
}
|