You might want to try jsVelocity. It doesn't look like it supports all Velocity features, but it's a start.
Is there a velocity port in JavaScript
-
14-01-2022 - |
Question
I know apache velocity is available for Java and .NET. Is there also a port to JavaScript? My aim is to translate VTL templates inside the browser without a roundtrip to the web server.
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow