Halfway through, a colleague pointed out a similar package (twig.js). Tweeg was already better in a number of ways, so I didn't give up:
- Tweeg is a compiler, which twig.js is not. (issue)
- Tweeg supports string interpolation, which twig.js doesn't
- Tweeg is much smaller.
PS: I would welcome a Gulp plugin for it. ;-)