Skip to content
do- edited this page Aug 25, 2026 · 14 revisions

This module features Router: an abstract boilerplate synchronous message processor for custom middleware applications.

Although it's accompanied with an HTTP specific descendant, HttpRouter (see test code for a working example), this is only a proof of concept, by no means supposed to compete with advanced HTTP servers. Developers in need of a well known HTTP centric RESTful framework better consider using express or like.

Another simple subclass, SignalRouter, is here to illustrate the basic idea: you may have endpoints for system signals, very similar to HTTP ones: configured, logged etc. in a completely uniform way.

Clone this wiki locally