{"_id":"@4lch4/blipp","_rev":"3-6447768c3016c48970dfa50962ee86b5","name":"@4lch4/blipp","dist-tags":{"latest":"4.0.2"},"versions":{"4.0.2":{"name":"@4lch4/blipp","version":"4.0.2","description":"blipp is a simple hapi plugin to display the routes table at startup","main":"lib/index.js","scripts":{"test":"lab -a @hapi/code -v -t 100 -L -I queueMicrotask"},"repository":{"type":"git","url":"git+https://github.com/danielb2/blipp.git"},"keywords":["hapi","plugin","hapi-plugin"],"author":{"name":"Daniel Bretoi"},"contributors":[{"name":"4lch4","email":"inbox@4lch4.dev","url":"https://alcha.org"}],"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"license":"BSD","dependencies":{"@hapi/hoek":"9.x.x","chalk":"4.x.x","easy-table":"1.x.x","joi":"17.x.x"},"devDependencies":{"@hapi/basic":"6.x.x","@hapi/code":"8.x.x","@hapi/hapi":"20.x.x","@hapi/lab":"24.x.x","@types/hapi__hapi":"^20.0.5"},"types":"index.d.ts","gitHead":"24c3c5aa72ee173057d500a8acdf85e62b40a4cf","bugs":{"url":"https://github.com/danielb2/blipp/issues"},"homepage":"https://github.com/danielb2/blipp#readme","_id":"@4lch4/blipp@4.0.2","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-Qmp9SDi9OIYrTBvOHYKwKBdT2Al+26InqcYAJAz/z4SMtnA2yZmfZPDzKqkKaxvL3YZ86QfF/88utOrB+OsXqQ==","shasum":"682d2adf203c2eab9e19758181a21af4b12fcacb","tarball":"https://registry.npmjs.org/@4lch4/blipp/-/blipp-4.0.2.tgz","fileCount":7,"unpackedSize":23407,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZNOMCRA9TVsSAnZWagAAfdMP/1KP0tKupfL2ja4r/Vpx\nZHG16ZJcFFkbQ+ewou/HTaDf1e+zHnKPz8yFmYfIuJJh+LQqhp8M4I+lhczc\nEYCU+A4ivVVgfZFw7GWf5eCwvem65j/sww+MqiSfsFOPkwivI/9eqW5xnlx4\nXTCI8wSIVtcagJO/E4YlfsI42rkUxw1QXjGJFcUUUHC7PYRe3g2v7O3zoOpA\nNjP9l/sIxBWMT9zGlTfkt9J2jeR64gwuYJ78ZrTgnt0JXw6s0rsaFQsNGNxQ\nN6E7oTqdZJtxXllEV82E/zXPeMRWVipps2uS/A+X22dwhd2lh9W/DGy/Yazx\nv4pLRj+edM/R7egMRyCYdEt3XfGqMHmue+RTCuUXhGFsCjB7TUDKnzqHujQe\nj+p1igl6eNwlrRSHGzleye3Dsz9dsw9whb+y48Xiy056XYxc1vBfE+B909DO\nd5DeLvgX1d6mZDoBjrZvZOU+k0+PUSFw7dJ+edtSSasHvNdLUafVq0ZxTMGO\nwxdraTRysULWCkUNQrVKndAu3fCyDfrOtUmlPmMHHgq+Wc5+oMp5HNC3S9SH\nMWc/v9Ap7P+vwheVM7GVIIlhwF84HtZy8QQ2ByAgmug43qOmdS3gT0vDmHmm\nD5FSUtuLy7cm/WTfbtjID4HrnwEKycBA3v50yEyRmJUkXig4xE5OEfA9wXV1\nZ20k\r\n=rujL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJAICDDWTA2zRrJG7OQA5DycbR+Bvi4J0w8YVp5AwDCwIhAPb8aO+VHNrXjSrcQztuTn3wcwyewtjIuJPm2bzHYIpO"}]},"_npmUser":{"name":"alcha","email":"alcha@hasslefree.solutions"},"directories":{},"maintainers":[{"name":"4lch4-ci","email":"inbox@4lch4.dev"},{"name":"alcha","email":"alcha@hasslefree.solutions"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blipp_4.0.2_1617220492554_0.9411830588296317"},"_hasShrinkwrap":false,"deprecated":"I've switched from Hapi to Elysia and no longer maintain this package. Feel free to fork and maintain it yourself."}},"time":{"created":"2021-03-31T19:54:52.331Z","4.0.2":"2021-03-31T19:54:52.665Z","modified":"2023-11-05T19:19:26.269Z"},"maintainers":[{"name":"4lch4-ci","email":"inbox@4lch4.dev"},{"name":"alcha","email":"alcha@hasslefree.solutions"}],"description":"blipp is a simple hapi plugin to display the routes table at startup","homepage":"https://github.com/danielb2/blipp#readme","keywords":["hapi","plugin","hapi-plugin"],"repository":{"type":"git","url":"git+https://github.com/danielb2/blipp.git"},"contributors":[{"name":"4lch4","email":"inbox@4lch4.dev","url":"https://alcha.org"}],"author":{"name":"Daniel Bretoi"},"bugs":{"url":"https://github.com/danielb2/blipp/issues"},"license":"BSD","readme":"# blipp ![build](https://travis-ci.org/danielb2/blipp.svg?branch=master)\n\n`blipp` is a simple hapi plugin to display the routes table to console at\nstartup. It organizes the display per connection so if you have multiple\nconnections you can easily ensure that you've done your routing table\ncorrectly. This can be difficult to see otherwise.\n\n![image](images/screenshot.png)\n\n## Usage (Hapi v17)\n\nRegister like any other plugin\n\nSee [examples](examples/) for examples\n\n## Options\n\nThe following options are available:\n\n* `showAuth`: Shows any hapi authentication scheme using _server.auth.strategy_. Default: false\n* `showScope`: Shows route access rules using _route.options.auth.access.scope_. Default: false\n* `showStart`: Shows route information during startup of server. Default: true\n\n\nThe module also registers the _'info()'_  and _'text()'_ API methods:\n```javascript\nconsole.log(server.plugins.blipp.info());\nconsole.log(server.plugins.blipp.text());\nvar json = JSON.stringify(server.plugins.blipp.info());\n```\n\n\nWith showAuth:\n\n![image](images/screenshot-with-auth.png)\n\n## Versions\n\n* 1.x = hapi 7.x\n* 2.x = hapi 8.x\n* 3.x = hapi 17.x\n* 4.x = hapi 18.x","readmeFilename":"README.md"}