tiny-mustache
tiny-mustache copied to clipboard
:speak_no_evil: The smallest implementation of Mustache template engine. (0.4 KB)
- removed recursion - removed array shift - addeed property caching
Any plan to publish to npm?
When [comparing the test for tiny-mustache against the results of mustache.js](https://gist.github.com/Potherca/4ce15246191c11a2b2d278a6687a3c05), I noticed there is a bug in the current `lambda` implementation. The [Mustache manual](https://mustache.github.io/mustache.5.html) states: > **Lambdas** > >...
When researching #8 I made some changes to the test setup (to make it easier to run diffs) that might be useful, hence this MR. Feel free to ignore if...