Replace doT templates with tempura or another templating engine #461
MikeRalphson
started this conversation in
Ideas
Replies: 1 comment
-
Oh hey, thanks! Lemme know if you need anything. A few people have found the strictness of tempura templates to be an obstacle. I definitely prefer the strictness (aka, need to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
doT is/was maintained by the author of
ajv
, butajv
no longer usesdoT
and I suspect it will not get much maintenance going forward.I have looked at tempura from @lukeed which is actively maintained (though new) and appears to be faster than
doT
(though that may not be a major consideration for mostwiddershins
users).The syntax is very similar to handlebars or mustache, but with simple logic flow helpers.
My initial thought is to support but deprecate
doT
templates in the next major version ofwiddershins
, and either try to parse templates astempura
but fallback todoT
if compilation fails, or have an option to control the template engine. In the next major version after that, support fordoT
templates would be removed.Any and all thoughts gratefully received. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions