@mattduffy/banner 1.3.0 → 1.3.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 +24 -17
- package/package.json +1 -1
package/Readme.md
CHANGED
|
@@ -30,9 +30,11 @@ app.use(banner.use())
|
|
|
30
30
|
/*
|
|
31
31
|
Emits at the beginning of each client request.
|
|
32
32
|
#################################################################
|
|
33
|
-
#
|
|
34
|
-
#
|
|
35
|
-
#
|
|
33
|
+
# GET: https://dev.example.com/map/getToken
|
|
34
|
+
# Query Params: ?debug=verbose
|
|
35
|
+
# Referer: https://dev.example.com/?debug=verbose
|
|
36
|
+
# From IP: 192.168.1.254
|
|
37
|
+
# Timestamp: 1/7/2026, 10:34:14 AM
|
|
36
38
|
#################################################################
|
|
37
39
|
*/
|
|
38
40
|
```
|
|
@@ -43,36 +45,41 @@ the ```ctx.request.method``` property. The supported request methods are ```GET
|
|
|
43
45
|
|
|
44
46
|
```
|
|
45
47
|
// GET
|
|
46
|
-
|
|
47
|
-
#
|
|
48
|
-
#
|
|
49
|
-
#
|
|
50
|
-
|
|
48
|
+
##########################################################################
|
|
49
|
+
# GET: https://banner.test/a/really/long/url/to/a/special/page
|
|
50
|
+
# Query Params: ?param1=querty¶m2=12345¶m3=true
|
|
51
|
+
# Referer: https://googoogle.com
|
|
52
|
+
# From IP: 192.168.1.250
|
|
53
|
+
# Timestamp: 1/7/2026, 10:34:14 AM
|
|
54
|
+
##########################################################################
|
|
51
55
|
```
|
|
52
56
|
|
|
53
57
|
```
|
|
54
58
|
// PUT
|
|
55
59
|
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
|
|
56
|
-
&
|
|
57
|
-
&
|
|
58
|
-
&
|
|
60
|
+
& PUT: https://banner.test/a/really/long/url/to/a/special/page
|
|
61
|
+
& Referer: https://googoogle.com
|
|
62
|
+
& From IP: 192.168.1.250
|
|
63
|
+
& Timestamp: 1/7/2026, 10:34:14 AM
|
|
59
64
|
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
|
|
60
65
|
```
|
|
61
66
|
|
|
62
67
|
```
|
|
63
68
|
// POST
|
|
64
69
|
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
65
|
-
@
|
|
66
|
-
@
|
|
67
|
-
@
|
|
70
|
+
@ POST: https://banner.test/a/really/long/url/to/a/special/page
|
|
71
|
+
@ Referer: https://googoogle.com
|
|
72
|
+
@ From IP: 192.168.1.250
|
|
73
|
+
@ Timestamp: 1/7/2026, 10:34:14 AM
|
|
68
74
|
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
69
75
|
```
|
|
70
76
|
|
|
71
77
|
```
|
|
72
78
|
// DELETE
|
|
73
79
|
**********************************************************************
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
80
|
+
* DELETE: https://banner.test/a/really/long/url/to/a/special/page
|
|
81
|
+
* Referer: https://googoogle.com
|
|
82
|
+
* From IP: 192.168.1.250
|
|
83
|
+
* Timestamp: 1/7/2026, 10:34:14 AM
|
|
77
84
|
**********************************************************************
|
|
78
85
|
```
|