{"id":15362608,"url":"https://github.com/hemanth/gulp-cleanhtml","last_synced_at":"2025-04-15T07:31:08.226Z","repository":{"id":12968087,"uuid":"15646586","full_name":"hemanth/gulp-cleanhtml","owner":"hemanth","description":"remove unneeded whitespaces, line-breaks, comments, etc from the HTML.","archived":false,"fork":false,"pushed_at":"2017-05-24T16:12:45.000Z","size":9,"stargazers_count":19,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T18:21:22.812Z","etag":null,"topics":["clean","gulp-plugin","html"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"WritingMinds/ffmpeg-android","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hemanth.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}},"created_at":"2014-01-05T06:18:27.000Z","updated_at":"2021-09-19T03:03:06.000Z","dependencies_parsed_at":"2022-07-10T00:01:14.568Z","dependency_job_id":null,"html_url":"https://github.com/hemanth/gulp-cleanhtml","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/hemanth%2Fgulp-cleanhtml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemanth%2Fgulp-cleanhtml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemanth%2Fgulp-cleanhtml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemanth%2Fgulp-cleanhtml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hemanth","download_url":"https://codeload.github.com/hemanth/gulp-cleanhtml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249026727,"owners_count":21200499,"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":["clean","gulp-plugin","html"],"created_at":"2024-10-01T13:02:39.444Z","updated_at":"2025-04-15T07:31:07.976Z","avatar_url":"https://github.com/hemanth.png","language":"JavaScript","readme":"# gulp-cleanhtml [![NPM version][npm-image]][npm-url] [![Build Status](https://travis-ci.org/hemanth/gulp-cleanhtml.svg?branch=master)](https://travis-ci.org/hemanth/gulp-cleanhtml)\n\n\u003e Cleans your HTML using [htmlclean](https://github.com/anseki/htmlclean)\n\n## Usage\n\nFirst, install `gulp-cleanhtml` as a development dependency:\n\n```shell\nnpm install --save-dev gulp-cleanhtml\n```\n\nThen, add it to your `gulpfile.js`:\n\n```javascript\nvar cleanhtml = require('gulp-cleanhtml');\n\ngulp.task('default', function(){\n  gulp.src('index.html')\n    .pipe(cleanhtml())\n    .pipe(gulp.dest('build/index.html'));\n});\n```\nThe above will remove unneeded whitespaces, line-breaks, comments, etc from the HTML. \n\n\n[npm-url]: https://npmjs.org/package/gulp-cleanhtml\n[npm-image]: https://badge.fury.io/js/gulp-repl.png\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhemanth%2Fgulp-cleanhtml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhemanth%2Fgulp-cleanhtml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhemanth%2Fgulp-cleanhtml/lists"}