Mu2 vs Mustache.js? Should I use the Mu2 module or Mustache.js module for nodejs templates

I decided that I would use Mustache for our template engine for our nodejs project, but I do not see what the differences are between Mu2 ( https://github.com/raycmorgan/Mu ) and mustache.js modules ( https://github.com /janl/mustache.js ).

I usually just check the Github network and go with the most active communities, but it seems they are supported very well.

Can someone enlighten me on what disagreements may be so that I can make an informed decision.

+4
source share
1 answer

That's right, I think I understood the difference if someone can confirm that it would be awesome!

I found this page http://mustache.github.com/ , which seems to separate the mustache from Javascript and Mustache for Node.js

I think the Node.js version just uses some node tools for caching and rendering, and all that, but Mustache.js uses pure javascript, and in my case it can be done in the interface or backend.

For Node.js, I would suggest that the Mu2 version will be much faster and more efficient.

+6
source

Source: https://habr.com/ru/post/1401154/


All Articles