1.0.2 • Published 2 years ago
easy.ejs v1.0.2
easy.ejs is a wrapper for express that makes using .ejs on express a billion times easier.
Example:
const express = require('easy.ejs')
const app = new express('FOLDER NAME (or leave null)', 'PORT')
app.get('/', (req, res) => {
res.send('HELLO!')
// Or: res.render('FILE NAME') for .ejs files
})
Documentation
Since this is a wrapper of Express, it pretty much works like express. That means that you can follow the same documentation as the original!
Support
If you still need support, contact me at my email.