However, the optional lambda features from the Mustache spec require the compiler and the original template source to be present. Hogan also supports template inheritance , and maintains compatibility with other implementations like mustache.
This feature is used by hulk to produce strings containing pre-compiled templates. The value is an array of object with o and c fields that indicate names for custom section tags. For transparency and insight into our release cycle, releases will be numbered with the follow format:. Unit tests are written using QUnit. Use node to run all tests from the mustache spec. Licensed under the Apache License, Version 2.
Skip to content. The value is an array of object with o and c fields that indicate names for custom section tags. For transparency and insight into our release cycle, releases will be numbered with the follow format:. Unit tests are written using QUnit. Use node to run all tests from the mustache spec. Licensed under the Apache License, Version 2. Git github. That means you get variables, sections, lambdas, partials, filters, and everything else you've come to expect from mustache templating - only much, much faster.
It's best to serve your templates precompiled whenever you can rather than the raw templates , as parsing is the most time consuming operation. Once compiled, call the render method with a context and optional partials object. Getting started Hogan. Senior Software Engineer. See jobs for Hogan. See jobs for Liquid. What companies use Hogan. What companies use Liquid? See which teams inside your own company are using Hogan. Sign up to get full access to all the companies Make informed product decisions.
What tools integrate with Hogan. What tools integrate with Liquid? Sign up to get full access to all the tool integrations Make informed product decisions. What are some alternatives to Hogan. No religiousness about how to organize things. No reinvention of iteration and control-flow. It's just plain JavaScript. TypeScript is a language for application-scale JavaScript development.
0コメント