Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/claymcleod/express-beautiful-ejs-engine


https://github.com/claymcleod/express-beautiful-ejs-engine

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Express Beautiful EJS Engine
=============================

For those of us who like clean HTML output from express.

Installation
-------------

```
npm install express-beautiful-ejs-engine --save
```

Usage
-------------

```
// Overwrite default EJS engine with this one
app.engine('ejs', require('express-beautiful-ejs-engine'));

// Set default engine to our engine
app.set('view engine', 'ejs');
```