Masonry is a lightweight templating middleware for Express/Connect that wraps EJS templates, last published in 2013 at version 0.0.2. It reads template files into memory from a specified directory and adds a res.render() method. Deprecated by modern view engine integration in Express 3+. No updates since early Node 0.6 era; unmaintained.
npm install masonryVerified import paths — ran on the pinned version, not inferred.
Sets up Express with Masonry middleware, renders an EJS template.
Use app.set('view engine', 'ejs') with Express built-in view engine or switch to consolidate.js.Be aware that the signature differs: returns via callback or sends directly; incompatible with Express 4+ internal view system.
Ensure underscore is installed: npm install underscore, or ignore if not used.
Apply masonry middleware before route definitions.