For the work of moving away from R, it seems to be useful to go beyond trivial mustache templates. Often it seems useful to have some logic in the templates, to keep the logic close to where it is needed, and avoid having too much data-prep code that is very specific to a specific way of presenting data.
After looking at and experimenting with a few template engines, EJS seems closest to what I might like. I also tried ETA, but it seems not to be maintained any more.
I like EJS, because it's not a full new language, but mostly JavaScript.
And it has good enough debugging output that helps identifying bugs.
Also update node dependencies, to resolve a security bug in one of them.
For the work of moving away from R, it seems to be useful to go beyond trivial mustache templates. Often it seems useful to have some logic in the templates, to keep the logic close to where it is needed, and avoid having too much data-prep code that is very specific to a specific way of presenting data.
After looking at and experimenting with a few template engines, EJS seems closest to what I might like. I also tried ETA, but it seems not to be maintained any more. I like EJS, because it's not a full new language, but mostly JavaScript. And it has good enough debugging output that helps identifying bugs.
Also update node dependencies, to resolve a security bug in one of them.