asilvas / node-image-steam

A simple, fast, and highly customizable on-the-fly image manipulation web server built atop Node.js
MIT License
169 stars 26 forks source link

feat: preprocessor added #87

Closed sagargulabani closed 3 years ago

sagargulabani commented 3 years ago

A preprocessor is added to allow modification of requests before actual processing of requests begin.

The handler function itself is provided in the routing configuration.

The function can manipulate the request parameters such as the path.