The express tag has no wiki summary.
0
votes
2answers
52 views
Is there a better way to read json in node
I have this view that populates an unordered list from values in a json file. I am doing this in node. So is there a better way to do this, or a mode 'node-like' way? Can I load the json file without ...
0
votes
1answer
39 views
express, blade with connect-assets
i have this coffee script code running http://chapter.zmgc.net (https://github.com/TZM/tzm-blade)and would like to have your opinion on how better to optimise it.
express = require "express"
gzippo = ...
1
vote
1answer
28 views
Render arbitrary jade in express
We've got a "catch-all" in app.js that renders a .jade file if it exists:
app.get('*', routes.render);
index.js
render: function(req, res) {
fs.exists('views' + req.url + '.jade', ...