EJS precompiler for Browserify
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
LICENSE.md
README.md
index.js
package.json

README.md

ejsify

EJS precompiler for Browserify.

Installation

npm install ejsify

Usage

If you're compiling your code from the command-line, include -t ejsify:

browserify -t ejsify index.js -o bundle.js

And then you can use require() and get back bundled EJS templates.

var index = require('./views/index.ejs')

document.body.innerHTML = index({ title: 'ejsify' })