ilms-express
v0.1.0
Published
Create middleware to bind an ilms service to express
Downloads
4
Maintainers
Readme
ilms-express
See ilms project to understand the microservice way.
ilms-express it's a factory which build an express route handler from a ilms service
## Example
const ilms = require('ilms');
const ilmsExpress = require('ilms-express');
const ilmsService = ilms.get('users.get');
const expressHandler = ilmsExpress(ilmsService);
app.get('/users', expressHandler);