{"library":"masonry","title":"Masonry","description":"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.","language":"javascript","status":"abandoned","last_verified":"Sat Apr 25","install":{"commands":["npm install masonry"],"cli":null},"imports":["const masonry = require('masonry')","const masonry = require('masonry')"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"var express = require('express');\nvar masonry = require('masonry');\nvar app = express();\napp.use(masonry(__dirname + '/templates'));\napp.get('/', function(req, res) {\n  res.render('index.ejs', { name: 'World' });\n});\napp.listen(3000);\n","lang":"javascript","description":"Sets up Express with Masonry middleware, renders an EJS template.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}