@mattduffy/banner 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 +6 -1
  2. package/package.json +1 -1
package/Readme.md CHANGED
@@ -4,5 +4,10 @@ information.
4
4
 
5
5
  ```javascript
6
6
  import banner from '@mattduffy/banner'
7
- app.use(banner)
7
+
8
+ // to emit a startup banner in your app logs
9
+ banner.print()
10
+
11
+ // To emit a banner at the start of each request
12
+ app.use(banner.use())
8
13
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattduffy/banner",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Displays server start-up information.",
5
5
  "author": "Matthew Duffy",
6
6
  "license": "ISC",