{"id":19299181,"url":"https://github.com/bmatcuk/jade-brunch-static","last_synced_at":"2026-05-30T16:31:30.722Z","repository":{"id":57279045,"uuid":"42290213","full_name":"bmatcuk/jade-brunch-static","owner":"bmatcuk","description":"Compile static jade files with brunch.","archived":false,"fork":false,"pushed_at":"2018-12-07T17:03:17.000Z","size":41,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T01:22:45.687Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bmatcuk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-11T05:50:14.000Z","updated_at":"2018-12-07T17:03:18.000Z","dependencies_parsed_at":"2022-09-11T18:51:39.709Z","dependency_job_id":null,"html_url":"https://github.com/bmatcuk/jade-brunch-static","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2Fjade-brunch-static","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2Fjade-brunch-static/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2Fjade-brunch-static/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2Fjade-brunch-static/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmatcuk","download_url":"https://codeload.github.com/bmatcuk/jade-brunch-static/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240400334,"owners_count":19795333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-09T23:10:26.019Z","updated_at":"2026-05-30T16:31:30.716Z","avatar_url":"https://github.com/bmatcuk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Release](https://img.shields.io/npm/v/jade-brunch-static.svg)\n\n# jade-brunch-static\nCompile static jade files with brunch.\n\njade-brunch-static is a processor for [html-brunch-static](https://github.com/bmatcuk/html-brunch-static), a [brunch](http://brunch.io/) plugin designed to handle static html files. jade-brunch-static can convert jade files into static html files with html-brunch-static's support for layouts and partial views.\n\nIf you're looking for support for the latest version of jade, now called \"pug\", check out [pug-brunch-static](https://github.com/bmatcuk/pug-brunch-static).\n\n## Installation\njade-brunch-static depends on [html-brunch-static](https://github.com/bmatcuk/html-brunch-static), which also depends on [brunch-static](https://github.com/bmatcuk/brunch-static), so, you will need to install all three. The recommended method is via npm:\n\n```bash\nnpm install --save-dev brunch-static html-brunch-static jade-brunch-static\n```\n\nOr manually:\n\n* Add `\"brunch-static\": \"x.y.z\"` to package.json\n* Add `\"html-brunch-static\": \"x.y.z\"` to package.json\n* Add `\"jade-brunch-static\": \"x.y.z\"` to package.json\n* Run `npm install`\n* Alternatively, you may use the latest git version with:\n  * `\"brunch-static\": \"git+ssh://git@github.com:bmatcuk/brunch-static\"`\n  * `\"html-brunch-static\": \"git+ssh://git@github.com:bmatcuk/html-brunch-static\"`\n  * `\"jade-brunch-static\": \"git+ssh://git@github.com:bmatcuk/jade-brunch-static\"`\n\n## Configuration\nAdd jade-brunch-static to your list of html-brunch-static processors:\n\n```coffee\nexports.config =\n  ...\n  plugins:\n    static:\n      processors: [\n        require('html-brunch-static') {\n          processors: [\n            require('jade-brunch-static') {\n              fileMatch: ...\n              fileTransform: ((filename) -\u003e ...)\n              ...\n            }\n          ]\n        }\n      ]\n```\n\nMost options passed to jade-brunch-static are passed, verbatim, to [jade](https://github.com/jadejs/jade), with the exception of:\n\n* **fileMatch** _(default: `/\\.static\\.jade$/`)_\n\n  \u003e _fileMatch_ is an [anymatch](https://github.com/es128/anymatch) that is used to determine which files will be handled by this processor. As an anymatch, it may be a string with globs, a regex, or a function that takes a filename and returns true if it should be handled, or false otherwise. The default will match files that end in `.static.jade`.\n\n* **fileTransform** _(default: `(filename) -\u003e filename.replace(/static\\.jade$/, 'html')`)_\n\n  \u003e _fileTransform_ converts the input filename into an html filename. It takes a filename as input and returns the new filename with the html extension. If you set the _fileMatch_ property above, you'll probably need to set this option as well to ensure that your output files end with the html extension.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmatcuk%2Fjade-brunch-static","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmatcuk%2Fjade-brunch-static","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmatcuk%2Fjade-brunch-static/lists"}