Need help with blipp?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

danielb2
126 Stars 17 Forks 116 Commits 5 Opened issues

Description

blipp is a simple hapi plugin to display the routes table at startup

Services available

!
?

Need anything else?

Contributors list

# 6,943
tcl
TypeScr...
nvm
Zsh
65 commits
# 488,185
HTML
TypeScr...
12 commits
# 466,613
JavaScr...
web-sta...
HTML
11 commits
# 93,781
Securit...
oauth2
JavaScr...
3 commits
# 349,923
HTML
Shell
TypeScr...
1 commit
# 153,410
Sass
compass
Shell
stylus
1 commit
# 123,144
hapi
Node.js
hapijs
HTML
1 commit
# 219,660
JavaScr...
Node.js
http-re...
TypeScr...
1 commit
# 89,174
Gradle
Go
Terrafo...
sqlciph...
1 commit

blipp build

blipp
is a simple hapi plugin to display the routes table to console at startup. It organizes the display per connection so if you have multiple connections you can easily ensure that you've done your routing table correctly. This can be difficult to see otherwise.

image

Usage (Hapi v17)

Register like any other plugin

See examples for examples

Options

The following options are available:

  • showAuth
    : Shows any hapi authentication scheme using server.auth.strategy. Default: false
  • showScope
    : Shows route access rules using route.options.auth.access.scope. Default: false
  • showStart
    : Shows route information during startup of server. Default: true

The module also registers the 'info()' and 'text()' API methods:

javascript
console.log(server.plugins.blipp.info());
console.log(server.plugins.blipp.text());
var json = JSON.stringify(server.plugins.blipp.info());

With showAuth:

image

Versions

  • 1.x = hapi 7.x
  • 2.x = hapi 8.x
  • 3.x = hapi 17.x
  • 4.x = hapi 18.x

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.