Skip to content

REDEF/ejsify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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' })

About

EJS precompiler for Browserify

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%