express-ember-handlebars

express middleware for ember handlebars based on https://github.com/interlock/connect-handlebars

npm install express-ember-handlebars
1 downloads in the last week
4 downloads in the last month

Express-Ember-Handlebars

This is a fork of interlock/connect-handlebars

It doesn't actually do any compling in the node process, but rather writes the client javascript for Ember to compile.

To make this work in an express app, do the following:


var ember_handlebars = require('express-ember-handlebars');
...
app.get('/templates.js', ember_handlebars(__dirname +
'/public/templates', {
  cache: false
}));
npm loves you