You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Milk is an implementation of Mustache in CoffeeScript. While it works beautifully in a server-side environment like Node, it's also capable of being used in browsers. It may not be the fastest implementation, but it's fairly simple and clean.
It has been written from the ground up in support of the Mustache specification, which it uses as its primary test suite.
Like mustache.js (and unlike Mu), Milk expects all template strings, data, and partials to be accessible as in-memory data structures, and will make no attempt to read files off disk. While this may introduce slight inconveniences in Node environments, it makes it far more portable to other Javascript environments. (Node-specific extensions may be considered as a future enhancement.)