UNPKG
feathers-blipp
Version:
latest (0.0.0)
0.0.0
feathers blipp
github.com/feathersjs/feathers-blipp
feathersjs/feathers-blipp
feathers-blipp
/
lib
/
index.js
15 lines
(12 loc)
•
280 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const
displayRoutes =
require
(
'./display-routes'
);
module
.
exports
=
function
init
(
options
) {
let
app =
this
;
if
(
typeof
options.
verbose
===
'boolean'
) {
return
function
(
app
) {
displayRoutes
(app, options.
verbose
); } }
else
{
displayRoutes
(app); } };