Template strings as a template language.

Thomas thomasjamesfoster at bigpond.com
Sun Sep 13 09:42:00 UTC 2015

I'd really like to use Template strings as a templating language, but unless I include a lot of boilerplate code (export a template string wrapped in a function from a file) or use eval after loading a file as a string it's pretty much impossible.

Is there a simpler way to be doing this? Or any plans for a type of eval that only executes it's argument as a template string?

Sent from my iPhone

More information about the es-discuss mailing list