Underscore.js template function for micro templating.
Ranked in these QuestionsQuestion Ranking
Pro For micro templating
Due to Underscore's optimized performance and ease-of-use it can be deemed as most fit for use in small sections of your code, where you just want a quick and simple template to render your content.
Underscore allows you to compile your template once before data is inserted to it.
Con Not a true templating engine
template in underscore is simply a function which compiles a piece of template into HTML. It's useful for rendering HTML from JSON and it's not very useful when building complex frontend templates.