{"id":14967735,"url":"https://github.com/plaidev/pug-to-html","last_synced_at":"2025-10-25T21:31:52.731Z","repository":{"id":43915094,"uuid":"189948395","full_name":"plaidev/pug-to-html","owner":"plaidev","description":"Convert Vue files from pug templates to html","archived":false,"fork":false,"pushed_at":"2023-05-01T06:42:03.000Z","size":388,"stargazers_count":25,"open_issues_count":11,"forks_count":5,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-01-31T10:51:12.243Z","etag":null,"topics":["converter","jade","pug","vue","vuejs"],"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/plaidev.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":"2019-06-03T06:35:35.000Z","updated_at":"2024-10-03T21:58:53.000Z","dependencies_parsed_at":"2023-01-31T16:46:11.550Z","dependency_job_id":null,"html_url":"https://github.com/plaidev/pug-to-html","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plaidev%2Fpug-to-html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plaidev%2Fpug-to-html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plaidev%2Fpug-to-html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plaidev%2Fpug-to-html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plaidev","download_url":"https://codeload.github.com/plaidev/pug-to-html/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238212423,"owners_count":19434955,"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":["converter","jade","pug","vue","vuejs"],"created_at":"2024-09-24T13:38:32.146Z","updated_at":"2025-10-25T21:31:47.135Z","avatar_url":"https://github.com/plaidev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pug-to-html\n\nConvert Vue files from pug templates to html\n\nThis repository is forked from [vue-pug-to-html](https://github.com/dperrymorrow/vue-pug-to-html), and has various adjustments.\n\n\n## :cd: Installation\n\n```sh\nnpm i -g @plaidev/pug-to-html\n```\n\n\n## :lollipop: Usage\n\n```sh\npugToHtml your-vue-file.vue\n```\n\n\n## :question: What's difference with `vue-pug-to-html` ?\n- Support `.jade` file\n- Support `\u003ctemplate lang=\"jade\"\u003e`\n- Add `doctype: \"html\"` option (because https://github.com/yyx990803/pug-plain-loader/blob/d2bc7c4ee84096fe94dd0c8778f3f6d860c2d6c3/index.js#L7)\n- correct converting `\u003c`, `\u003e`, and other operators in attributes.\n  - Example `\u003cdiv v-if=\"Math.random() \u003e 0.5\"\u003e…\u003c/div\u003e`\n\n\n## :muscle: Contribution\n\n- Fork the repository from [plaidev/pug-to-html](https://github.com/plaidev/pug-to-html) !\n- Create your topic branch from `master`: `git branch my-new-topic master`\n- Add codes and pass tests !\n- Commit your changes: `git commit -am 'Add some topic'`\n- Push to the branch: `git push origin my-new-topic`\n- Submit a pull request to `master` branch of `plaidev/pug-to-html` repository !\n\n\n## :copyright: License\n\n[MIT](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplaidev%2Fpug-to-html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplaidev%2Fpug-to-html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplaidev%2Fpug-to-html/lists"}