{"id":20027175,"url":"https://github.com/unic/estatico-html-validate","last_synced_at":"2026-05-11T11:41:15.702Z","repository":{"id":150611706,"uuid":"91720056","full_name":"unic/estatico-html-validate","owner":"unic","description":null,"archived":false,"fork":false,"pushed_at":"2017-11-28T14:42:51.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-15T17:11:21.101Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unic.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-05-18T17:24:07.000Z","updated_at":"2017-05-18T17:24:24.000Z","dependencies_parsed_at":"2023-06-12T01:45:48.285Z","dependency_job_id":null,"html_url":"https://github.com/unic/estatico-html-validate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/unic/estatico-html-validate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Festatico-html-validate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Festatico-html-validate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Festatico-html-validate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Festatico-html-validate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unic","download_url":"https://codeload.github.com/unic/estatico-html-validate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Festatico-html-validate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32894000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-13T09:09:19.525Z","updated_at":"2026-05-11T11:41:15.697Z","avatar_url":"https://github.com/unic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# estatico-html-validate\n\nSends HTML pages through the [w3c validator](https://validator.w3.org/).\n\n## Installation\n\n```\n$ npm i -S estatico-html-validate\n```\n\n## Usage\n\n```js\nconst gulp = require('gulp');\nconst validateTask = require('estatico-html-validate');\nconst validateOptions = {}; // Custom options, deep-merged into defaults via _.merge\n\ngulp.task('html:validate', () =\u003e validateTask(validateOptions));\n```\n\n### Options\n\n#### src\n\nType: `Array` or `String`\u003cbr\u003e\nDefault:\n```js\n[\n  './dist/*.html',\n  './dist/modules/**/*.html',\n  './dist/pages/**/*.html',\n]\n```\n\nPassed to `gulp.src`.\n\n#### srcBase\n\nType: `String`\u003cbr\u003e\nDefault: `'./dist'`\n\nPassed as `base` option to `gulp.src`.\n\n#### watch\n\nType: `Array`/`String`\u003cbr\u003e\nDefault:\n```js\n[\n  './dist/*.html',\n  './dist/modules/**/*.html',\n  './dist/pages/**/*.html',\n]\n```\n\nUsed in separate watch task, changes to above files will trigger the task.\n\n#### errorHandler\n\nType: `Function`\u003cbr\u003e\nDefault:\n```js\n(err) =\u003e {\n  log(`estatico-html-validate${err.plugin ? ` (${err.plugin})` : null}`, chalk.cyan(err.fileName), chalk.red(err.message));\n}\n```\n\nFunction to run if an error occurs in one of the steps.\n\n#### plugins\n\nType: `Object`\n\n##### plugins.w3cjs\n\nType: `Object`\u003cbr\u003e\nDefault:\n```js\n{}\n```\n\nPassed to [`gulp-w3cjs`](https://www.npmjs.com/package/gulp-w3cjs).\n\n## License\n\nApache 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funic%2Festatico-html-validate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funic%2Festatico-html-validate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funic%2Festatico-html-validate/lists"}