Now Particularly Misnamed
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

ejsify

1.0.0 • Public • Published

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

install

npm i ejsify

Downloadsweekly downloads

504

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability