Express Thymeleaf
Integrate ThymeleafJS with Express.
ThymeleafJS returns Promises of processed templates, but Express uses a callback mechanism for receiving rendered/processed HTML. This tiny module saves you having to do the boilerplate of stitching those 2 together to get them to work.
Installation
npm install express-thymeleaf --save
Usage
This module is still under development, denoted by the 0.x semver, in conjunction with the ThymeleafJS project, so expect anything below to change.
;;; // Configure your application to use Thymeleaf via the express-thymeleaf modulelet app = ;let templateEngine = ;app;app; // Render views as you would normally in response to requestsapp; app;