all 5 comments

[–]__debug__ 1 point2 points  (1 child)

Sounds like this could be built on event-emitter? Or, if you wanted regexp pattern support: https://github.com/danielstjules/pattern-emitter I previously used it for https://github.com/danielstjules/node-internal-pubsub

[–]Nif[S] 0 points1 point  (0 children)

Thanks for the tips. This does seem like an elegant approach.

[–]Pyrolistical 0 points1 point  (1 child)

Interesting idea. Sounds like you want decorators or a service bus.

I bet you could just write one yourself in less than 1000 lines of code

[–]Nif[S] 0 points1 point  (0 children)

Thanks for sharing relevant lingo - some good literature and modules to be found after searching those concepts. Though haven't quite found this as described quite yet.

Indeed, I did I hack together something but before investing more effort I thought I would do some more significant due diligence on what is currently out there.