I'm using tuxychandru's grasshopper which does templating (an a lot more - it's a full fledged web server) in a relatively nice way. http://github.com/tuxychandru/grasshopper
Another good approach, if you're looking for something that specifically plays well with node, is to look at the modules page on the node.js wiki - it's served me well.