Search code examples
javascriptopen-sourceserver-sidetemplate-engineplaintext

Looking for DOM-independent JavaScript templating system works \w plain text


Is there a templating library/system/engine/technique written in javascript that:

  • Doesn't screw up plain-text (non-html) templates ( like tabs and line breaks )
  • But also works with HTML
  • Doesn't have it's own DSL for loops and conditions (uses pure JS)
  • Can be run server-side without the DOM

...and is open-source licensed?


Solution

  • Embedded Javascript?

    http://embeddedjs.com/