@yodata/event-router
v1.4.6
Published
map object patterns to event functions, unix commands and micro-services
Downloads
16
Readme
@yodata/event-router
Useage
// /index.js
const router = require("@yodata/event-router");
router.registerRoute({ type: "RegisterAction" }, async function(event) {
// do something with the event
return event;
});
module.exports = router.next;
Testing
npm run dev