{
  "id": "task_libraries:template-engine/javascript",
  "path": "/exapedia/javascript-template-engine-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript template engine libraries",
  "answer": [
    {
      "t": "text",
      "text": "JavaScript template engine libraries render HTML or text by filling a template with data in Node.js and the browser. An engine either embeds plain JavaScript in the template or uses its own tag syntax with helpers, partials, and layout inheritance. These libraries let web servers, static site generators, and email tools build pages from shared templates."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript template engine libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#lodash",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F141"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ejs",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F158"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F6"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#handlebars",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F173"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F32"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#underscore",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F188"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mustache",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F205"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F59"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#eta",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F220"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pug",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F237"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#nunjucks",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F254"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F85"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#ejs",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads among dedicated template engines in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F2"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Escapes interpolation",
            "Async rendering",
            "File-loading API"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#lodash",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F141"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ejs",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F158"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#handlebars",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F173"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#underscore",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F188"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mustache",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F205"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#eta",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F220"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pug",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F237"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F248"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#nunjucks",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F254"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F261"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F262"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F263"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "lodash",
          "name": [
            {
              "t": "fact",
              "fact": "F141"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/lodash/lodash"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/lodash"
            },
            {
              "label": "Docs",
              "href": "https://cdn.jsdelivr.net/npm/lodash@4.18.1/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F148"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/lodash@4.18.1/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F141"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/sindresorhus/gulp-template",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F156"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "function compile(options, data, render) {\n\treturn gulpPlugin('gulp-template', file => {\n\t\tconst contents = file.contents.toString();\n\n\t\ttry {\n\t\t\tconst template = _.template(contents, options);\n\t\t\tfile.contents = Buffer.from(render ? template(_.merge({}, file.data, data)) : template.toString());\n\t\t\treturn file;\n\t\t} catch (error) {\n\t\t\terror.message = `${error.message} in ${file.path}`;\n\t\t\terror.fileName = file.path;\n\t\t\tthrow error;\n\t\t}\n\t});\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/sindresorhus/gulp-template/blob/cb471422e40027eb5aebe2535e315b56bc5179f8/index.js#L5-L19",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F155"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=lodash%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F141"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const _ = require('lodash');\n\nconst render = _.template('Hello <%= name %>!');\nconst output = render({ name: 'Ada' });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/lodash/lodash/contents/lodash.js?ref=4.18.1",
                  "label": [
                    {
                      "t": "text",
                      "text": "lodash.js"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F146"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "ejs",
          "name": [
            {
              "t": "fact",
              "fact": "F158"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/mde/ejs"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/ejs"
            },
            {
              "label": "Docs",
              "href": "https://cdn.jsdelivr.net/npm/ejs@7.0.2/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F6"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/ejs@7.0.2/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F158"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/11ty/buildawesome",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F171"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async compile(str, inputPath) {\n  let options = this.getEjsOptions();\n\n  if (inputPath && inputPath !== \"ejs\" && inputPath !== \"md\") {\n    options.filename = inputPath;\n  }\n\n  let fn = this.ejsLib.compile(str, options);\n\n  return function (data) {\n    return fn(data);\n  };\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/11ty/buildawesome/blob/e71cb94003b5a94dcd40ec96f8f4b455767b9833/src/Engines/Ejs.js#L40-L52",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F170"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20applications%20using%20ejs%20for%20template%20compilation%2C%20reusable%20partials%2C%20layout%20rendering%20and%20data%20binding&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F158"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const ejs = require('ejs');\n\nconst output = ejs.render('Hello <%= name %>!', { name: 'Ada' });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/ejs@7.0.2/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F163"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "handlebars",
          "name": [
            {
              "t": "fact",
              "fact": "F173"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/handlebars-lang/handlebars.js"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/handlebars"
            },
            {
              "label": "Docs",
              "href": "https://cdn.jsdelivr.net/npm/handlebars@4.7.10/README.markdown"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F39"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F32"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/handlebars@4.7.10/README.markdown",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F173"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F46"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F47"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/11ty/buildawesome",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F186"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async compile(str) {\n  // Ensure partials are cached and registered.\n  await this.getPartials();\n\n  let fn = this.handlebarsLib.compile(str);\n  return function (data) {\n    return fn(data);\n  };\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/11ty/buildawesome/blob/e71cb94003b5a94dcd40ec96f8f4b455767b9833/src/Engines/Handlebars.js#L62-L70",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F185"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20applications%20using%20handlebars%20for%20template%20compilation%2C%20reusable%20partials%2C%20layout%20rendering%20and%20data%20binding&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F173"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const Handlebars = require('handlebars');\n\nconst render = Handlebars.compile('Hello {{name}}!');\nconst output = render({ name: 'Ada' });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/handlebars@4.7.10/README.markdown",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F178"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "underscore",
          "name": [
            {
              "t": "fact",
              "fact": "F188"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/jashkenas/underscore"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/underscore"
            },
            {
              "label": "Docs",
              "href": "https://cdn.jsdelivr.net/npm/underscore@1.13.8/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F195"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/underscore@1.13.8/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F188"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/jashkenas/backbone",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F203"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "function() {\n      this.$el.html(this.template(this.model.toJSON()));\n      this.$el.toggleClass('done', this.model.get('done'));\n      this.input = this.$('.edit');\n      return this;\n    }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/jashkenas/backbone/blob/94260d91dcf4050360f055506271b61f7b24e5e3/examples/todos/todos.js#L99-L104",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F202"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=underscore%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F188"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const _ = require('underscore');\n\nconst render = _.template('Hello <%= name %>!');\nconst output = render({ name: 'Ada' });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/jashkenas/underscore/contents/modules/template.js?ref=1.13.8",
                  "label": [
                    {
                      "t": "text",
                      "text": "template.js"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F193"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "mustache",
          "name": [
            {
              "t": "fact",
              "fact": "F205"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/janl/mustache.js"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/mustache"
            },
            {
              "label": "Docs",
              "href": "https://cdn.jsdelivr.net/npm/mustache@4.2.0/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F65"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F59"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/mustache@4.2.0/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F205"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F72"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F73"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/11ty/buildawesome",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F218"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async compile(str) {\n  let partials = await super.getPartials();\n\n  return function (data) {\n    return this.render(str, data, partials).trim();\n  }.bind(this.mustacheLib);\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/11ty/buildawesome/blob/e71cb94003b5a94dcd40ec96f8f4b455767b9833/src/Engines/Mustache.js#L16-L22",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F217"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20applications%20using%20mustache%20for%20template%20compilation%2C%20reusable%20partials%2C%20layout%20rendering%20and%20data%20binding&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F205"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const Mustache = require('mustache');\n\nconst output = Mustache.render('Hello {{name}}!', { name: 'Ada' });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/mustache@4.2.0/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F210"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "eta",
          "name": [
            {
              "t": "fact",
              "fact": "F220"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/eta-dev/eta"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/eta"
            },
            {
              "label": "Docs",
              "href": "https://cdn.jsdelivr.net/npm/eta@4.6.0/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F227"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/eta@4.6.0/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F220"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/meta/docusaurus",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F235"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export async function compileSSGTemplate(\n  template: string,\n): Promise<SSGTemplateCompiled> {\n  const eta = new Eta({rmWhitespace: true});\n  const compiledTemplate = eta.compile(template.trim());\n\n  return (data: SSGTemplateData) => eta.render(compiledTemplate, data);\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/meta/docusaurus/blob/c880050d8e79e10218cbbf21c313465cbee56910/packages/docusaurus/src/ssg/ssgTemplate.ts#L55-L62",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F234"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=eta%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F220"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const { Eta } = require('eta');\n\nconst eta = new Eta();\nconst output = eta.renderString('Hello <%= it.name %>!', { name: 'Ada' });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/eta@4.6.0/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F225"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pug",
          "name": [
            {
              "t": "fact",
              "fact": "F237"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/pugjs/pug"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/pug"
            },
            {
              "label": "Docs",
              "href": "https://cdn.jsdelivr.net/npm/pug@3.0.4/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F244"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/pug@3.0.4/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F237"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F253"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/11ty/buildawesome",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F252"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async compile(str, inputPath) {\n  let options = this.getPugOptions();\n  if (!inputPath || inputPath === \"pug\" || inputPath === \"md\") {\n    // do nothing\n  } else {\n    options.filename = inputPath;\n  }\n\n  return this.pugLib.compile(str, options);\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/11ty/buildawesome/blob/e71cb94003b5a94dcd40ec96f8f4b455767b9833/src/Engines/Pug.js#L30-L39",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F251"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=pug%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F237"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const pug = require('pug');\n\nconst output = pug.render('p Hello #{name}!', { name: 'Ada' });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/pug@3.0.4/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F242"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "nunjucks",
          "name": [
            {
              "t": "fact",
              "fact": "F254"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/mozilla/nunjucks"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/nunjucks"
            },
            {
              "label": "Docs",
              "href": "https://cdn.jsdelivr.net/npm/nunjucks@3.2.4/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F91"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F85"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/nunjucks@3.2.4/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F254"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F92"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F93"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F94"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F95"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F96"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F97"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F98"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F99"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F267"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F268"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/11ty/buildawesome",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F267"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async compile(str, inputPath) {\n  let tmpl;\n\n  if (this._usingPrecompiled) {\n    tmpl = this.njkEnv.getTemplate(str, true);\n  } else if (!inputPath || inputPath === \"njk\" || inputPath === \"md\") {\n    tmpl = new NunjucksLib.Template(str, this.njkEnv, null, true);\n  } else {\n    tmpl = new NunjucksLib.Template(str, this.njkEnv, inputPath, true);\n  }\n\n  return async function (data) {\n    return new Promise(function (resolve, reject) {\n      tmpl.render(data, function (err, res) {\n        if (err) {\n          reject(err);\n        } else {\n          resolve(res);\n        }\n      });\n    });\n  };\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/11ty/buildawesome/blob/e71cb94003b5a94dcd40ec96f8f4b455767b9833/src/Engines/Nunjucks.js#L398-L420",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F266"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20applications%20using%20nunjucks%20for%20template%20compilation%2C%20reusable%20partials%2C%20layout%20rendering%20and%20data%20binding&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F254"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const nunjucks = require('nunjucks');\n\nconst output = nunjucks.renderString('Hello {{ name }}!', { name: 'Ada' });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/nunjucks@3.2.4/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "api.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F259"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which JavaScript template engine library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#ejs",
          "label": [
            {
              "t": "text",
              "text": "EJS"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits Express apps that want plain JavaScript inside templates. "
        },
        {
          "t": "link",
          "href": "#handlebars",
          "label": [
            {
              "t": "text",
              "text": "Handlebars"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits teams that want logic-light templates with helpers and precompilation. "
        },
        {
          "t": "link",
          "href": "#nunjucks",
          "label": [
            {
              "t": "text",
              "text": "Nunjucks"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits sites that share layouts through block inheritance."
        }
      ]
    },
    {
      "q": "What is EJS?",
      "a": [
        {
          "t": "link",
          "href": "#ejs",
          "label": [
            {
              "t": "text",
              "text": "EJS"
            }
          ]
        },
        {
          "t": "text",
          "text": " is an embedded JavaScript template engine. Templates mix HTML with JavaScript control flow and escaped or raw output tags."
        }
      ]
    },
    {
      "q": "EJS vs Handlebars: which should I use?",
      "a": [
        {
          "t": "link",
          "href": "#ejs",
          "label": [
            {
              "t": "text",
              "text": "EJS"
            }
          ]
        },
        {
          "t": "text",
          "text": " runs ordinary JavaScript inside templates. "
        },
        {
          "t": "link",
          "href": "#handlebars",
          "label": [
            {
              "t": "text",
              "text": "Handlebars"
            }
          ]
        },
        {
          "t": "text",
          "text": " keeps logic out of templates and moves it into registered helpers."
        }
      ]
    },
    {
      "q": "What is Handlebars?",
      "a": [
        {
          "t": "link",
          "href": "#handlebars",
          "label": [
            {
              "t": "text",
              "text": "Handlebars"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a Mustache-family template engine with escaped interpolation, helpers, partials, and precompiled templates."
        }
      ]
    },
    {
      "q": "Handlebars vs Mustache: what is the difference?",
      "a": [
        {
          "t": "link",
          "href": "#mustache",
          "label": [
            {
              "t": "text",
              "text": "Mustache.js"
            }
          ]
        },
        {
          "t": "text",
          "text": " keeps templates logic-less with sections and partials. "
        },
        {
          "t": "link",
          "href": "#handlebars",
          "label": [
            {
              "t": "text",
              "text": "Handlebars"
            }
          ]
        },
        {
          "t": "text",
          "text": " accepts Mustache templates and adds helpers, block expressions, and precompilation."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, ejs",
      "display": "EJS",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, ejs",
      "display": "223.7M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, ejs",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, ejs",
      "display": "7.0.2",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, ejs",
      "display": "v7.0.2",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, ejs",
      "display": "8.1K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Template includes, ejs",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Autoescaping, ejs",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Custom delimiters, ejs",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Output formats, ejs",
      "display": "HTML",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, ejs",
      "display": "npm install ejs",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, ejs",
      "display": "Generates template output using JavaScript control flow and escaped or raw interpolation.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, ejs",
      "display": "Uses JavaScript inside templates",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, ejs",
      "display": "Write loops and conditions with normal JavaScript.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, ejs",
      "display": "Changes delimiters per template",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, ejs",
      "display": "Choose delimiters per render instead of changing global settings.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, ejs",
      "display": "Templates need trusted authors",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, ejs",
      "display": "Do not accept unrestricted template source from end users.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, ejs",
      "display": "Layouts rely on includes",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, ejs",
      "display": "Compose headers and footers; EJS does not provide layout blocks.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, ejs",
      "display": "import ejs from 'ejs';\nconst users = ['geddy', 'neil', 'alex'];\n\n// Just one template\nejs.render('<p>[?= users.join(\" | \"); ?]</p>', {users: users}, {delimiter: '?', openDelimiter: '[', closeDelimiter: ']'});\n// => '<p>geddy | neil | alex</p>'\n\n// Or globally\nejs.delimiter = '?';\nejs.openDelimiter = '[';\nejs.closeDelimiter = ']';\nejs.render('<p>[?= users.join(\" | \"); ?]</p>', {users: users});\n// => '<p>geddy | neil | alex</p>'\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function, ejs",
      "display": "async compile(str, inputPath) {\n    let options = this.getEjsOptions();\n\n    if (inputPath && inputPath !== \"ejs\" && inputPath !== \"md\") {\n      options.filename = inputPath;\n    }\n\n    let fn = this.ejsLib.compile(str, options);\n\n    return function (data) {\n      return fn(data);\n    };\n  }\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function reference, ejs",
      "display": "Ejs.js · compile()",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project repository, ejs",
      "display": "11ty/buildawesome",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project stars, 11ty/buildawesome",
      "display": "20.0K",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project push date, 11ty/buildawesome",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F27": {
      "label": "Library name, handlebars",
      "display": "Handlebars",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Monthly downloads, handlebars",
      "display": "213.4M",
      "asOf": "2026-11-15"
    },
    "F29": {
      "label": "License, handlebars",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Package release, handlebars",
      "display": "4.7.10",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Undated package release, handlebars",
      "display": "v4.7.10",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Repository stars, handlebars",
      "display": "18.7K",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Template includes, handlebars",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Autoescaping, handlebars",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Custom delimiters, handlebars",
      "display": "Unsupported",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Precompilation, handlebars",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Output formats, handlebars",
      "display": "HTML",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "Install, handlebars",
      "display": "npm install handlebars",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "What it does, handlebars",
      "display": "Generates HTML or other template text from an input object.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths lead, handlebars",
      "display": "Precompiles templates for client execution",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths, handlebars",
      "display": "Generate template code before deploying the rendering runtime.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths lead, handlebars",
      "display": "Reuses registered partial templates",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "strengths, handlebars",
      "display": "Register partials once and call them from other templates.",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations lead, handlebars",
      "display": "Missing fields are silently ignored",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations, handlebars",
      "display": "Enable strict to throw when template data is missing.",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "limitations lead, handlebars",
      "display": "Prototype properties are blocked",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "limitations, handlebars",
      "display": "Convert model instances to plain objects before rendering.",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Quickstart, handlebars",
      "display": "const Handlebars = require(\"handlebars\");\n\nvar source =\n  '<p>Hello, my name is {{name}}. I am from {{hometown}}. I have ' +\n  '{{kids.length}} kids:</p>' +\n  '<ul>{{#kids}}<li>{{name}} is {{age}}</li>{{/kids}}</ul>';\nvar template = Handlebars.compile(source);\n\nvar data = {\n  name: 'Alan',\n  hometown: 'Somewhere, TX',\n  kids: [\n    { name: 'Jimmy', age: '12' },\n    { name: 'Sally', age: '4' },\n  ],\n};\nvar result = template(data);\n\n// Would render:\n// <p>Hello, my name is Alan. I am from Somewhere, TX. I have 2 kids:</p>\n// <ul>\n//   <li>Jimmy is 12</li>\n//   <li>Sally is 4</li>\n// </ul>\n",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project function, handlebars",
      "display": "async compile(str) {\n    // Ensure partials are cached and registered.\n    await this.getPartials();\n\n    let fn = this.handlebarsLib.compile(str);\n    return function (data) {\n      return fn(data);\n    };\n  }\n",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project function reference, handlebars",
      "display": "Handlebars.js · compile()",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project repository, handlebars",
      "display": "11ty/buildawesome",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Project stars, 11ty/buildawesome",
      "display": "20.0K",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Project push date, 11ty/buildawesome",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F54": {
      "label": "Library name, mustache",
      "display": "Mustache",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Monthly downloads, mustache",
      "display": "95.5M",
      "asOf": "2026-11-15"
    },
    "F56": {
      "label": "License, mustache",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Package release, mustache",
      "display": "4.2.0",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Undated package release, mustache",
      "display": "v4.2.0",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Repository stars, mustache",
      "display": "16.7K",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Template includes, mustache",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Autoescaping, mustache",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Custom delimiters, mustache",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "Output formats, mustache",
      "display": "HTML",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "Install, mustache",
      "display": "npm install mustache",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "What it does, mustache",
      "display": "Expands template tags using values supplied in an object.",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths lead, mustache",
      "display": "Reuses partials at runtime",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "strengths, mustache",
      "display": "Supply partial text by name when rendering nested templates.",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "strengths lead, mustache",
      "display": "Changes tag delimiters inline",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "strengths, mustache",
      "display": "Switch delimiters when braces conflict with other template content.",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations lead, mustache",
      "display": "Complex branching belongs in data",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "limitations, mustache",
      "display": "Prepare decisions in view values or helper functions.",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "limitations lead, mustache",
      "display": "Missing keys render nothing",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "limitations, mustache",
      "display": "Validate required input fields before rendering.",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Quickstart, mustache",
      "display": "const Mustache = require('mustache');\n\nconst view = {\n  title: \"Joe\",\n  calc: () => ( 2 + 4 )\n};\n\nconst output = Mustache.render(\"{{title}} spends {{calc}}\", view);\n",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Project function, mustache",
      "display": "async compile(str) {\n    let partials = await super.getPartials();\n\n    return function (data) {\n      return this.render(str, data, partials).trim();\n    }.bind(this.mustacheLib);\n  }\n",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Project function reference, mustache",
      "display": "Mustache.js · compile()",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Project repository, mustache",
      "display": "11ty/buildawesome",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Project stars, 11ty/buildawesome",
      "display": "20.0K",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Project push date, 11ty/buildawesome",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F80": {
      "label": "Library name, nunjucks",
      "display": "Nunjucks",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Monthly downloads, nunjucks",
      "display": "18.8M",
      "asOf": "2026-11-15"
    },
    "F82": {
      "label": "License, nunjucks",
      "display": "BSD-2-Clause",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Package release, nunjucks",
      "display": "3.2.4",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Undated package release, nunjucks",
      "display": "v3.2.4",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Repository stars, nunjucks",
      "display": "9.0K",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "Template includes, nunjucks",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "Autoescaping, nunjucks",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "Custom delimiters, nunjucks",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "Precompilation, nunjucks",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "Install, nunjucks",
      "display": "npm install nunjucks",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "What it does, nunjucks",
      "display": "Renders templates with reusable layouts and overridable blocks.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "strengths lead, nunjucks",
      "display": "Supports template inheritance",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "strengths, nunjucks",
      "display": "Use extends and blocks to share page layouts.",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "strengths lead, nunjucks",
      "display": "Supports asynchronous template work",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "strengths, nunjucks",
      "display": "Add asynchronous filters and loaders for data-dependent rendering.",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "limitations lead, nunjucks",
      "display": "Default API shares one configuration",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "limitations, nunjucks",
      "display": "Create an explicit Environment when instances need separate settings.",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "limitations lead, nunjucks",
      "display": "Async loaders need async rendering",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "limitations, nunjucks",
      "display": "Use callback-based rendering with asynchronous loaders.",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Quickstart, nunjucks",
      "display": "var nunjucks = require('nunjucks');\n\nvar template = nunjucks.compile('Hello {{ username }}');\ntemplate.render({ username: 'James' });\n\nvar res = nunjucks.renderString('Hello {{ username }}', { username: 'James' });\n",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Project function, nunjucks",
      "display": "async compile(str, inputPath) {\n    let tmpl;\n\n    if (this._usingPrecompiled) {\n      tmpl = this.njkEnv.getTemplate(str, true);\n    } else if (!inputPath || inputPath === \"njk\" || inputPath === \"md\") {\n      tmpl = new NunjucksLib.Template(str, this.njkEnv, null, true);\n    } else {\n      tmpl = new NunjucksLib.Template(str, this.njkEnv, inputPath, true);\n    }\n\n    return async function (data) {\n      return new Promise(function (resolve, reject) {\n        tmpl.render(data, function (err, res) {\n          if (err) {\n            reject(err);\n          } else {\n            resolve(res);\n          }\n        });\n      });\n    };\n  }\n",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Project function reference, nunjucks",
      "display": "Nunjucks.js · compile()",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Project repository, nunjucks",
      "display": "11ty/buildawesome",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Project stars, 11ty/buildawesome",
      "display": "20.0K",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Project push date, 11ty/buildawesome",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F106": {
      "label": "Developer need",
      "display": "Shipping precompiled templates",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Why choose handlebars",
      "display": "documented client-side precompilation",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need in introduction",
      "display": "shipping precompiled templates",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "When to consider nunjucks",
      "display": "explicit layout inheritance is central",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need",
      "display": "Sharing layouts through inheritance",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Why choose nunjucks",
      "display": "overridable template blocks",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Developer need in introduction",
      "display": "sharing layouts through inheritance",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "When to consider handlebars",
      "display": "a documented precompiled client workflow is the priority",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "Developer need",
      "display": "Writing JavaScript in templates",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "Why choose ejs",
      "display": "familiar JavaScript control flow",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "Developer need in introduction",
      "display": "writing JavaScript in templates",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "When to consider mustache",
      "display": "reusable partials with tag-only templates fit better",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "Developer need",
      "display": "Rendering reusable view partials",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "Why choose mustache",
      "display": "runtime partial expansion",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "Developer need in introduction",
      "display": "rendering reusable view partials",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "When to consider ejs",
      "display": "template authors need JavaScript control flow",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "Page introduction",
      "display": "JavaScript template engine libraries let application developers render documents from templates and data.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: How do partials differ from layout inheritance?",
      "display": "Handlebars partials are reusable templates called by other templates.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: How do partials differ from layout inheritance?",
      "display": "Nunjucks inheritance defines blocks that child templates can override.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Does EJS provide layout blocks?",
      "display": "EJS uses includes for header/footer layouts rather than dedicated block support.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Do these engines escape all output automatically?",
      "display": "Handlebars ordinary expressions are HTML-escaped; triple-stash expressions bypass escaping.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: Do these engines escape all output automatically?",
      "display": "Mustache variables are escaped by default, with explicit raw-output forms.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Do these engines escape all output automatically?",
      "display": "EJS distinguishes escaped interpolation from raw output.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: Can EJS escaping protect JavaScript inside a script tag?",
      "display": "Its own output-context guidance says default HTML escaping neither renders correctly nor protects script-block interpolation.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "FAQ: Can end users supply arbitrary Nunjucks or EJS template source?",
      "display": "Nunjucks explicitly does not sandbox user-defined templates.",
      "asOf": "2026-11-17"
    },
    "F131": {
      "label": "FAQ: Can end users supply arbitrary Nunjucks or EJS template source?",
      "display": "EJS is a JavaScript runtime and warns against unrestricted end-user access to rendering.",
      "asOf": "2026-11-17"
    },
    "F132": {
      "label": "FAQ: How can missing Handlebars fields become errors?",
      "display": "The strict option makes missing fields throw instead of being silently ignored.",
      "asOf": "2026-11-17"
    },
    "F133": {
      "label": "FAQ: Why are model prototype properties missing from Handlebars output?",
      "display": "Handlebars denies context-object prototype properties and methods by default; pass direct data properties for rendering.",
      "asOf": "2026-11-17"
    },
    "F134": {
      "label": "FAQ: Why can Nunjucks instances unexpectedly share configuration?",
      "display": "The simple API uses the latest configure call; explicit environments avoid that implicit shared state.",
      "asOf": "2026-11-17"
    },
    "F135": {
      "label": "FAQ: How should asynchronous Nunjucks loaders render?",
      "display": "Use the asynchronous rendering API with a callback when loaders are asynchronous.",
      "asOf": "2026-11-17"
    },
    "F136": {
      "label": "FAQ: Can Handlebars change its template delimiters?",
      "display": "Alternative delimiters are explicitly unsupported.",
      "asOf": "2026-11-17"
    },
    "F137": {
      "label": "FAQ: What data do Mustache partials receive?",
      "display": "Partials inherit variables from the calling context, and an object of named partial text can be passed to render.",
      "asOf": "2026-11-17"
    },
    "F138": {
      "label": "FAQ: What data do Mustache partials receive?",
      "display": "Partials are resolved at runtime.",
      "asOf": "2026-11-17"
    },
    "F139": {
      "label": "FAQ: Is Mustache pre-parsing the same as generating compiled JavaScript?",
      "display": "The documented pre-parsing workflow caches a parsed token tree; it does not establish the same artifact as Handlebars precompile.",
      "asOf": "2026-11-17"
    },
    "F140": {
      "label": "FAQ: Is Mustache pre-parsing the same as generating compiled JavaScript?",
      "display": "Handlebars precompile generates a template that can execute on the client without compilation.",
      "asOf": "2026-11-17"
    },
    "F141": {
      "label": "Library name, lodash",
      "display": "Lodash",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Monthly downloads, lodash",
      "display": "801.2M",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "License, lodash",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Package release, lodash",
      "display": "4.18.1",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Package release date, lodash",
      "display": "Apr 2026",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Install, lodash",
      "display": "npm install lodash@4.18.1",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Quickstart, lodash",
      "display": "const _ = require('lodash');\n\nconst render = _.template('Hello <%= name %>!');\nconst output = render({ name: 'Ada' });\n",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Official description, lodash",
      "display": "Compiles text templates with configurable delimiters as one part of a broad utility library.",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Quickstart source file, lodash",
      "display": "lodash.js",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Escapes interpolation, lodash",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Async rendering, lodash",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "File-loading API, lodash",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Template model and integration, lodash",
      "display": "Broad utility library with a native text-template compiler, configurable escape/interpolate/evaluate delimiters, imports, and precompiled source output. Ordinary <%= ... %> interpolation is unescaped; <%- ... %> escapes. Its package counter measures all utilities, not template adoption.",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Project function, lodash",
      "display": "function compile(options, data, render) {\n\treturn gulpPlugin('gulp-template', file => {\n\t\tconst contents = file.contents.toString();\n\n\t\ttry {\n\t\t\tconst template = _.template(contents, options);\n\t\t\tfile.contents = Buffer.from(render ? template(_.merge({}, file.data, data)) : template.toString());\n\t\t\treturn file;\n\t\t} catch (error) {\n\t\t\terror.message = `${error.message} in ${file.path}`;\n\t\t\terror.fileName = file.path;\n\t\t\tthrow error;\n\t\t}\n\t});\n}\n",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Project source file, lodash",
      "display": "index.js",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Project full_name, lodash",
      "display": "sindresorhus/gulp-template",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Project stargazers_count, lodash",
      "display": "287",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Library name, ejs",
      "display": "EJS",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Monthly downloads, ejs",
      "display": "230.1M",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "License, ejs",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Package release, ejs",
      "display": "7.0.2",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Package release date, ejs",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Install, ejs",
      "display": "npm install ejs@7.0.2",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Quickstart, ejs",
      "display": "const ejs = require('ejs');\n\nconst output = ejs.render('Hello <%= name %>!', { name: 'Ada' });\n",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Escapes interpolation, ejs",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Async rendering, ejs",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "File-loading API, ejs",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Template model and integration, ejs",
      "display": "Embedded-JavaScript text/HTML templates with escaped and raw interpolation, includes, file rendering, configurable delimiters, caching, and optional async functions. Templates execute JavaScript; this is a familiar-JavaScript rendering interface, not template-language isolation.",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Project function, ejs",
      "display": "async compile(str, inputPath) {\n  let options = this.getEjsOptions();\n\n  if (inputPath && inputPath !== \"ejs\" && inputPath !== \"md\") {\n    options.filename = inputPath;\n  }\n\n  let fn = this.ejsLib.compile(str, options);\n\n  return function (data) {\n    return fn(data);\n  };\n}\n",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Project source file, ejs",
      "display": "src/Engines/Ejs.js",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Project full_name, ejs",
      "display": "11ty/buildawesome",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Project stargazers_count, ejs",
      "display": "20.1K",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Library name, handlebars",
      "display": "Handlebars",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Monthly downloads, handlebars",
      "display": "219.7M",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "License, handlebars",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Package release, handlebars",
      "display": "4.7.10",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Package release date, handlebars",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Install, handlebars",
      "display": "npm install handlebars@4.7.10",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Quickstart, handlebars",
      "display": "const Handlebars = require('handlebars');\n\nconst render = Handlebars.compile('Hello {{name}}!');\nconst output = render({ name: 'Ada' });\n",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Escapes interpolation, handlebars",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Async rendering, handlebars",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "File-loading API, handlebars",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Template model and integration, handlebars",
      "display": "Mustache-family templates with escaped interpolation, helpers, partials, and precompilation. Node CommonJS entry registers native .hbs/.handlebars require handlers that read/compile files; that specific file API is not a browser or universal ESM loader.",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Project function, handlebars",
      "display": "async compile(str) {\n  // Ensure partials are cached and registered.\n  await this.getPartials();\n\n  let fn = this.handlebarsLib.compile(str);\n  return function (data) {\n    return fn(data);\n  };\n}\n",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Project source file, handlebars",
      "display": "src/Engines/Handlebars.js",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Project full_name, handlebars",
      "display": "11ty/buildawesome",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Project stargazers_count, handlebars",
      "display": "20.1K",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Library name, underscore",
      "display": "Underscore",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Monthly downloads, underscore",
      "display": "166.4M",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "License, underscore",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Package release, underscore",
      "display": "1.13.8",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Package release date, underscore",
      "display": "Feb 2026",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Install, underscore",
      "display": "npm install underscore@1.13.8",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Quickstart, underscore",
      "display": "const _ = require('underscore');\n\nconst render = _.template('Hello <%= name %>!');\nconst output = render({ name: 'Ada' });\n",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Official description, underscore",
      "display": "Compiles text templates with evaluate, interpolate, and escape tags as one part of a utility toolkit.",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Quickstart source file, underscore",
      "display": "modules/template.js",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Escapes interpolation, underscore",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Async rendering, underscore",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "File-loading API, underscore",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Template model and integration, underscore",
      "display": "Broad utility toolkit whose native template function compiles evaluate/interpolate/escape tags and exposes compiled source. Ordinary <%= ... %> interpolation is unescaped. Its package downloads are not a measure of template use.",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Project function, underscore",
      "display": "function() {\n      this.$el.html(this.template(this.model.toJSON()));\n      this.$el.toggleClass('done', this.model.get('done'));\n      this.input = this.$('.edit');\n      return this;\n    }\n",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Project source file, underscore",
      "display": "examples/todos/todos.js",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Project full_name, underscore",
      "display": "jashkenas/backbone",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Project stargazers_count, underscore",
      "display": "28.1K",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Library name, mustache",
      "display": "mustache",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Monthly downloads, mustache",
      "display": "98.2M",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "License, mustache",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Package release, mustache",
      "display": "4.2.0",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Package release date, mustache",
      "display": "Mar 2021",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Install, mustache",
      "display": "npm install mustache@4.2.0",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Quickstart, mustache",
      "display": "const Mustache = require('mustache');\n\nconst output = Mustache.render('Hello {{name}}!', { name: 'Ada' });\n",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Escapes interpolation, mustache",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Async rendering, mustache",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "File-loading API, mustache",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Template model and integration, mustache",
      "display": "Logic-less string templates with escaped interpolation, sections, partials, and optional lambdas. Public JavaScript runtime renders synchronously; CLI file input and user-supplied partial-loading functions are separate from a built-in JavaScript file-loading API.",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Project function, mustache",
      "display": "async compile(str) {\n  let partials = await super.getPartials();\n\n  return function (data) {\n    return this.render(str, data, partials).trim();\n  }.bind(this.mustacheLib);\n}\n",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Project source file, mustache",
      "display": "src/Engines/Mustache.js",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Project full_name, mustache",
      "display": "11ty/buildawesome",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Project stargazers_count, mustache",
      "display": "20.1K",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Library name, eta",
      "display": "Eta",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Monthly downloads, eta",
      "display": "42.4M",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "License, eta",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Package release, eta",
      "display": "4.6.0",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Package release date, eta",
      "display": "Apr 2026",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Install, eta",
      "display": "npm install eta@4.6.0",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Quickstart, eta",
      "display": "const { Eta } = require('eta');\n\nconst eta = new Eta();\nconst output = eta.renderString('Hello <%= it.name %>!', { name: 'Ada' });\n",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Official description, eta",
      "display": "Renders embedded JavaScript templates with escaping by default, async methods, includes, and layouts.",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Quickstart source file, eta",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Escapes interpolation, eta",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Async rendering, eta",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "File-loading API, eta",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Template model and integration, eta",
      "display": "Embedded-JavaScript engine with class-bound compilation/rendering, escaped interpolation by default, explicit async methods, file views, includes, and layouts/blocks. Current4.6 render accepts a template filename or a compiled function; renderString accepts raw template text.",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Project function, eta",
      "display": "export async function compileSSGTemplate(\n  template: string,\n): Promise<SSGTemplateCompiled> {\n  const eta = new Eta({rmWhitespace: true});\n  const compiledTemplate = eta.compile(template.trim());\n\n  return (data: SSGTemplateData) => eta.render(compiledTemplate, data);\n}\n",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Project source file, eta",
      "display": "packages/docusaurus/src/ssg/ssgTemplate.ts",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Project full_name, eta",
      "display": "meta/docusaurus",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Project stargazers_count, eta",
      "display": "66.8K",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Library name, pug",
      "display": "Pug",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Monthly downloads, pug",
      "display": "19.8M",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "License, pug",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Package release, pug",
      "display": "3.0.4",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Package release date, pug",
      "display": "Mar 2026",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Install, pug",
      "display": "npm install pug@3.0.4",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Quickstart, pug",
      "display": "const pug = require('pug');\n\nconst output = pug.render('p Hello #{name}!', { name: 'Ada' });\n",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Official description, pug",
      "display": "Compiles a whitespace-sensitive template language to HTML with includes and block inheritance.",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Quickstart source file, pug",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Escapes interpolation, pug",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Async rendering, pug",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "File-loading API, pug",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Template model and integration, pug",
      "display": "Whitespace-sensitive HTML template language with compilation/rendering, includes, native extends/block inheritance, and Node file rendering. Normal string interpolation is escaped; unescaped interpolation uses an explicit alternative.",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Project function, pug",
      "display": "async compile(str, inputPath) {\n  let options = this.getPugOptions();\n  if (!inputPath || inputPath === \"pug\" || inputPath === \"md\") {\n    // do nothing\n  } else {\n    options.filename = inputPath;\n  }\n\n  return this.pugLib.compile(str, options);\n}\n",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Project source file, pug",
      "display": "src/Engines/Pug.js",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Project full_name, pug",
      "display": "11ty/buildawesome",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Project stargazers_count, pug",
      "display": "20.1K",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Library name, nunjucks",
      "display": "Nunjucks",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Monthly downloads, nunjucks",
      "display": "19.3M",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "License, nunjucks",
      "display": "BSD-2-Clause",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Package release, nunjucks",
      "display": "3.2.4",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "Package release date, nunjucks",
      "display": "Apr 2023",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Install, nunjucks",
      "display": "npm install nunjucks@3.2.4",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Quickstart, nunjucks",
      "display": "const nunjucks = require('nunjucks');\n\nconst output = nunjucks.renderString('Hello {{ name }}!', { name: 'Ada' });\n",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Escapes interpolation, nunjucks",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F262": {
      "label": "Async rendering, nunjucks",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F263": {
      "label": "File-loading API, nunjucks",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F264": {
      "label": "Template model and integration, nunjucks",
      "display": "Jinja-inspired template language with extends/block inheritance, macros, includes, async filters/loaders, and environment-level string/file rendering. Autoescaping defaults true; callback rendering is required for asynchronous features.",
      "asOf": "2026-11-20"
    },
    "F265": {
      "label": "Project function, nunjucks",
      "display": "async compile(str, inputPath) {\n  let tmpl;\n\n  if (this._usingPrecompiled) {\n    tmpl = this.njkEnv.getTemplate(str, true);\n  } else if (!inputPath || inputPath === \"njk\" || inputPath === \"md\") {\n    tmpl = new NunjucksLib.Template(str, this.njkEnv, null, true);\n  } else {\n    tmpl = new NunjucksLib.Template(str, this.njkEnv, inputPath, true);\n  }\n\n  return async function (data) {\n    return new Promise(function (resolve, reject) {\n      tmpl.render(data, function (err, res) {\n        if (err) {\n          reject(err);\n        } else {\n          resolve(res);\n        }\n      });\n    });\n  };\n}\n",
      "asOf": "2026-11-20"
    },
    "F266": {
      "label": "Project source file, nunjucks",
      "display": "src/Engines/Nunjucks.js",
      "asOf": "2026-11-20"
    },
    "F267": {
      "label": "Project full_name, nunjucks",
      "display": "11ty/buildawesome",
      "asOf": "2026-11-20"
    },
    "F268": {
      "label": "Project stargazers_count, nunjucks",
      "display": "20.1K",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best JavaScript template engines Handlebars Nunjucks EJS Mustache code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
