This module is used as express middleware and it provides some helper methods.