Delegator is a standalone library for request delegation in node.js inspired by pythons selector.

It provides a component for “RESTful” dispatching of requests to callbacks based on the URI path and HTTP request method as well as a connect middleware for automatic dispatching.

There is a very simple format for path matching expressions and there is also support for an external “mapping file” that can be used to express the mappings outside of your JavaScript code.


If you can’t find the information you’re looking for, have a look at the index or try to find it using the search function: