{"id":15285452,"url":"https://github.com/elldritch/broccoli-pug","last_synced_at":"2026-04-27T00:31:37.625Z","repository":{"id":44936054,"uuid":"62382119","full_name":"elldritch/broccoli-pug","owner":"elldritch","description":"Compile or render Pug templates in a Broccoli tree.","archived":false,"fork":false,"pushed_at":"2022-01-17T15:35:42.000Z","size":8,"stargazers_count":0,"open_issues_count":5,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-21T23:10:53.494Z","etag":null,"topics":["broccoli","broccoli-plugin","pug"],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elldritch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-01T09:35:15.000Z","updated_at":"2023-09-08T17:12:10.000Z","dependencies_parsed_at":"2022-08-29T03:00:23.579Z","dependency_job_id":null,"html_url":"https://github.com/elldritch/broccoli-pug","commit_stats":null,"previous_names":["ilikebits/broccoli-pug"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elldritch/broccoli-pug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elldritch%2Fbroccoli-pug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elldritch%2Fbroccoli-pug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elldritch%2Fbroccoli-pug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elldritch%2Fbroccoli-pug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elldritch","download_url":"https://codeload.github.com/elldritch/broccoli-pug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elldritch%2Fbroccoli-pug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32318417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["broccoli","broccoli-plugin","pug"],"created_at":"2024-09-30T15:05:05.824Z","updated_at":"2026-04-27T00:31:37.601Z","avatar_url":"https://github.com/elldritch.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# broccoli-pug\n\n`broccoli-pug` compiles or renders `pug` templates.\n\nBecause of Broccoli's design, this plugin is unable to resolve relative\nimports to files outside of its input nodes. The workaround for this is to move\nall relative imports into the input nodes (e.g. using `broccoli-funnel` and then\n`broccoli-merge`). Note that imports must be in the same _input node_; it is not\nsufficient to simply include imports as a separate input node. You can do this\nby combining nodes using `broccoli-merge`.\n\n# Usage\n```js\nvar Pug = require('broccoli-pug');\nvar html = new Pug([inputNode1, inputNode2], {\n  render: true,\n  pugOptions: {\n    // ...\n  }\n});\n```\n\n## `pug(inputs, options)`\n`inputs` is an array of input Broccoli nodes.\n\n`options` is an optional object specifying plugin options.\n\n`options.render` is a boolean. If true, `broccoli-pug` will render templates to\nHTML rather than compiling to a JS function.\n\n`options.pugOptions` specifies options for the `pug` compiler. It is passed\ndirectly to the compiler.\n\n# Contributing\nI would love if anybody could contribute some tests to this repository. Feel free\nto leave PRs, test or otherwise.\n\n# License\nCopyright 2016 Lehao Zhang. Released to the general public under the terms of\nthe ISC license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felldritch%2Fbroccoli-pug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felldritch%2Fbroccoli-pug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felldritch%2Fbroccoli-pug/lists"}