{"id":13817724,"url":"https://github.com/gulp-community/gulp-pug","last_synced_at":"2026-04-02T01:35:35.572Z","repository":{"id":9357860,"uuid":"11210841","full_name":"gulp-community/gulp-pug","owner":"gulp-community","description":"Gulp plugin for compiling Pug templates","archived":false,"fork":false,"pushed_at":"2023-06-12T13:05:11.000Z","size":315,"stargazers_count":520,"open_issues_count":4,"forks_count":79,"subscribers_count":11,"default_branch":"master","last_synced_at":"2026-03-19T12:42:13.796Z","etag":null,"topics":["gulp","gulp-plugin","pug"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gulp-community.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-07-06T00:38:04.000Z","updated_at":"2026-03-05T15:01:21.000Z","dependencies_parsed_at":"2024-06-18T12:17:59.951Z","dependency_job_id":"0db6c432-d3d5-402a-a1e2-60e643d86437","html_url":"https://github.com/gulp-community/gulp-pug","commit_stats":{"total_commits":127,"total_committers":30,"mean_commits":4.233333333333333,"dds":0.5905511811023623,"last_synced_commit":"8c9ecc12d8ae63613b2067c5ab006dfd9132ef45"},"previous_names":["phated/gulp-jade","jamen/gulp-pug"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/gulp-community/gulp-pug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulp-community%2Fgulp-pug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulp-community%2Fgulp-pug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulp-community%2Fgulp-pug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulp-community%2Fgulp-pug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gulp-community","download_url":"https://codeload.github.com/gulp-community/gulp-pug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulp-community%2Fgulp-pug/sbom","scorecard":{"id":449074,"data":{"date":"2025-08-11","repo":{"name":"github.com/gulp-community/gulp-pug","commit":"8c9ecc12d8ae63613b2067c5ab006dfd9132ef45"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 5/29 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/dev.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dev.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/gulp-community/gulp-pug/dev.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dev.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/gulp-community/gulp-pug/dev.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dev.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/gulp-community/gulp-pug/dev.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dev.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/gulp-community/gulp-pug/dev.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dev.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/gulp-community/gulp-pug/dev.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dev.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/gulp-community/gulp-pug/dev.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/dev.yml:50","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 22 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T07:41:08.210Z","repository_id":9357860,"created_at":"2025-08-19T07:41:08.210Z","updated_at":"2025-08-19T07:41:08.210Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31094406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-28T02:23:35.801Z","status":"ssl_error","status_checked_at":"2026-03-28T02:23:32.528Z","response_time":79,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["gulp","gulp-plugin","pug"],"created_at":"2024-08-04T06:00:54.256Z","updated_at":"2026-04-02T01:35:35.556Z","avatar_url":"https://github.com/gulp-community.png","language":"JavaScript","funding_links":[],"categories":["Getting Started"],"sub_categories":["Overview"],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://gulpjs.com\"\u003e\n    \u003cimg height=\"257\" width=\"257\" src=\"https://raw.githubusercontent.com/gulpjs/artwork/master/community/logo-2021/community.png\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# gulp-pug\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]\n\nGulp plugin for compiling Pug templates. Enabling you to compile your Pug templates into HTML or JS, with support for template locals, custom Pug filters, AMD wrapping, and others.\n\n## Usage\n\n```js\nconst { src, dest } = require('gulp');\nconst pug = require('gulp-pug');\n\nexports.views = () =\u003e {\n  return src('./src/*.pug')\n    .pipe(\n      pug({\n        // Your options in here.\n      })\n    )\n    .pipe(dest('./dist'));\n};\n```\n\n## API\n\n### `pug([opts])`\n\n- `opts` (`Object`): Any options from [Pug's API][api] in addition to `pug`'s own options.\n- `opts.locals` (`Object`): Locals to compile the Pug with. You can also provide locals through the `data` field of the file object, e.g. with [`gulp-data`][gulp-data]. They will be merged with `opts.locals`.\n- `opts.data` (`Object`): Same as `opts.locals`.\n- `opts.client` (`Boolean`): Compile Pug to JavaScript code.\n- `opts.pug`: A custom instance of Pug for `gulp-pug` to use.\n- `opts.verbose`: display name of file from stream that is being compiled.\n\nTo change `opts.filename` use [`gulp-rename`][gulp-rename] before `gulp-pug`.\n\nReturns a stream that compiles Vinyl files as Pug.\n\n## Also See\n\n- [`pug`][pug]\n- [`gulp-data`][gulp-data]: Using locals in your Pug templates easier.\n- [`gulp-rename`][gulp-rename]: Change `opts.filename` passed into Pug.\n- [`gulp-wrap-amd`][gulp-wrap-amd]: Wrap your Pug in an AMD wrapper.\n- [`gulp-frontmatter-wrangler`][gulp-frontmatter-wrangler]: Useful if you need YAML frontmatter at the top of your Pug file.\n\n## License\n\nMIT\n\n\u003c!-- prettier-ignore-start --\u003e\n[downloads-image]: https://img.shields.io/npm/dm/gulp-pug.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/gulp-pug\n[npm-image]: https://img.shields.io/npm/v/gulp-pug.svg?style=flat-square\n\n[ci-url]: https://github.com/gulp-community/gulp-pug/actions?query=workflow:dev\n[ci-image]: https://img.shields.io/github/workflow/status/gulp-community/gulp-pug/dev?style=flat-square\n\n[coveralls-url]: https://coveralls.io/r/gulp-community/gulp-pug\n[coveralls-image]: https://img.shields.io/coveralls/gulp-community/gulp-pug/master.svg?style=flat-square\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- prettier-ignore-start --\u003e\n[pug]: https://github.com/pugjs/pug\n[api]: https://pugjs.org/api/reference.html\n[gulp-data]: https://npmjs.com/gulp-data\n[gulp-rename]: https://npmjs.com/gulp-rename\n[gulp-wrap-amd]: https://github.com/phated/gulp-wrap-amd\n[gulp-frontmatter-wrangler]: https://github.com/DougBeney/gulp-frontmatter-wrangler\n\u003c!-- prettier-ignore-end --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgulp-community%2Fgulp-pug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgulp-community%2Fgulp-pug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgulp-community%2Fgulp-pug/lists"}