hapi-method-routes is a plugin that exposes server methods as routes
Example:
servermethod'add' {};server;
will print 'true' and '2025'. See tests for more examples.
servermethod'add' {};server;
will print 'true' and '2025'. See tests for more examples.
npm i hapi-method-routes
0
1.0.1
MIT