{"id":18907724,"url":"https://github.com/waldronmatt/html-validate-webpack-plugin","last_synced_at":"2025-04-15T04:32:05.463Z","repository":{"id":57267694,"uuid":"335481705","full_name":"waldronmatt/html-validate-webpack-plugin","owner":"waldronmatt","description":"An HTML-validate.org plugin for webpack","archived":false,"fork":false,"pushed_at":"2022-02-03T02:19:10.000Z","size":18,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T16:43:42.882Z","etag":null,"topics":["html","html-validate","plugin","validate","webpack"],"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/waldronmatt.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":"2021-02-03T02:15:22.000Z","updated_at":"2023-03-08T21:12:41.000Z","dependencies_parsed_at":"2022-09-02T03:40:19.196Z","dependency_job_id":null,"html_url":"https://github.com/waldronmatt/html-validate-webpack-plugin","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldronmatt%2Fhtml-validate-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldronmatt%2Fhtml-validate-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldronmatt%2Fhtml-validate-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldronmatt%2Fhtml-validate-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waldronmatt","download_url":"https://codeload.github.com/waldronmatt/html-validate-webpack-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249006537,"owners_count":21197291,"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":["html","html-validate","plugin","validate","webpack"],"created_at":"2024-11-08T09:22:56.361Z","updated_at":"2025-04-15T04:32:04.382Z","avatar_url":"https://github.com/waldronmatt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://www.w3.org/html/logo/downloads/HTML5_1Color_Black.svg\"\u003e\u003cimg width=\"200\" height=\"200\" src=\"https://www.w3.org/html/logo/downloads/HTML5_1Color_Black.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://webpack.js.org/assets/icon-square-big.svg\"\u003e\u003cimg width=\"200\" height=\"200\" src=\"https://webpack.js.org/assets/icon-square-big.svg\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n# html-validate-webpack-plugin\n\n\u003e An [html-validate.org](https://html-validate.org/) plugin for webpack\n\n## About plugin\n\nThis plugin is a simple wrapper around the [html-validate.org](https://html-validate.org/) cli for automatic validation after each webpack compilation.\n\n## Install\n\n```bash\nnpm i -D html-validate-webpack-plugin\n```\n\n```bash\nnpm i -g html-validate\n```\n\n**Note**: You must have `html-validate` installed globally and create a `.htmlvalidate.json` at the project root with your [configurations](https://html-validate.org/usage/index.html).\n\n## Usage\n\nIn your webpack configuration (development builds):\n\n```js\nconst HtmlValidatePlugin = require('html-validate-webpack-plugin');\n\nmodule.exports = {\n  plugins: [\n    new HtmlValidatePlugin(),\n  ],\n};\n```\n\n## Options\n\nYou can pass select [html-validate.org cli options](https://html-validate.org/usage/cli.html).\n\n### `path`\n\n- Type: `String`\n- Default: `'src/**/*'`\n\nSpecifies the directories/files for html-validate to search.\n\n### `extensions`\n\n- Type: `array`\n- Default: `['html']`\n\nSpecifies the file extensions to use when searching for files in directories.\n\n### `config`\n\n- Type: `String`\n- Default: `'.htmlvalidate.json'`\n\nSpecify a different configuration file.\n\n**Note:** For your custom configuration omit the `.json` extension and supply the name only.\n\n## Features\n\n- `html-validate` [performs all validation locally](https://html-validate.org/#offline) which means you can use `html-validate` and `html-validate-webpack-plugin` offline.\n- `html-validate-webpack-plugin` contains minimal dependencies.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaldronmatt%2Fhtml-validate-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaldronmatt%2Fhtml-validate-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaldronmatt%2Fhtml-validate-webpack-plugin/lists"}