@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.
Files changed (2) hide show
  1. package/Readme.md +24 -17
  2. 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
- # GET: https://dev.example.com/map/getToken?debug=verbose
34
- # Referer: https://dev.example.com/?debug=verbose
35
- # From IP: 192.168.1.254
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
- # GET: https://banner.test/a/really/long/url/to/a/special/page
48
- # Referer: https://googoogle.com
49
- # From IP: 192.168.1.250
50
- ######################################################################
48
+ ##########################################################################
49
+ # GET: https://banner.test/a/really/long/url/to/a/special/page
50
+ # Query Params: ?param1=querty&param2=12345&param3=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
- & PUT: https://banner.test/a/really/long/url/to/a/special/page
57
- & Referer: https://googoogle.com
58
- & From IP: 192.168.1.250
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
- @ POST: https://banner.test/a/really/long/url/to/a/special/page
66
- @ Referer: https://googoogle.com
67
- @ From IP: 192.168.1.250
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
- * DELETE: https://banner.test/a/really/long/url/to/a/special/page
75
- * Referer: https://googoogle.com
76
- * From IP: 192.168.1.250
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
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattduffy/banner",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Displays server start-up information.",
5
5
  "author": "Matthew Duffy",
6
6
  "license": "ISC",