JSON Templating in Node/Express
Looks like there's one finally! Here is the link to it https://www.npmjs.com/package/javelinAlso this is in the experimental stage so its not production ready yet.
Here's an extract from the link
javelin sets out with a few main goals in mind:
- An easy, familiar, way to separate the view logic from your data within RESTful APIs
- A simple, lightweight templating language that makes sense for application data
- Ability to serve your API data in different formats from the same view
Lastly, this is heavily inspired from RABL.
Hope that helps!