{"id":14968205,"url":"https://github.com/devinus/html-autoprefixer","last_synced_at":"2025-10-29T13:14:07.949Z","repository":{"id":24111652,"uuid":"27499709","full_name":"devinus/html-autoprefixer","owner":"devinus","description":"Autoprefix all CSS inside an html page - CSS inside style tags and inside style attributes.","archived":false,"fork":false,"pushed_at":"2022-09-26T01:55:37.000Z","size":31,"stargazers_count":55,"open_issues_count":2,"forks_count":13,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-08T23:33:44.199Z","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/devinus.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-12-03T17:49:34.000Z","updated_at":"2023-12-14T14:04:33.000Z","dependencies_parsed_at":"2022-09-19T16:52:23.973Z","dependency_job_id":null,"html_url":"https://github.com/devinus/html-autoprefixer","commit_stats":null,"previous_names":["rebelmail/html-autoprefixer"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/devinus/html-autoprefixer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fhtml-autoprefixer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fhtml-autoprefixer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fhtml-autoprefixer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fhtml-autoprefixer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devinus","download_url":"https://codeload.github.com/devinus/html-autoprefixer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fhtml-autoprefixer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000723,"owners_count":26082862,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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-09-24T13:39:31.778Z","updated_at":"2025-10-08T23:33:49.095Z","avatar_url":"https://github.com/devinus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# html-autoprefixer\n\n![html-autoprefixer](../master/html-autoprefixer.png?raw=true)\n\nAutoprefix all CSS inside an html page - CSS inside style tags and inside style attributes.\n\n[![BuildStatus](https://travis-ci.org/Rebelmail/html-autoprefixer.png?branch=master)](https://travis-ci.org/Rebelmail/html-autoprefixer)\n[![NPM version](https://badge.fury.io/js/html-autoprefixer.png)](http://badge.fury.io/js/html-autoprefixer)\n\n```javascript\nvar prefixed = htmlAutoprefixer.process(htmlString);\n```\n\n## Installation\n\n```\nnpm install html-autoprefixer --save\n```\n\n## Usage\n\nYou pass an html string to `.process` and it returns the processed html.\n\n```javascript\nvar htmlAutoprefixer = require(\"html-autoprefixer\");\nvar htmlString = \"\u003chtml\u003e\u003chead\u003e\u003cstyle\u003e:fullscreen a { transition: transform 1s; }\u003c/style\u003e\u003c/head\u003e\u003cbody\u003e\u003ch1 style='font-feature-settings: \\\"liga\\\", \\\"dlig\\\";'\u003eHello\u003c/h1\u003e\u003c/body\u003e\u003c/html\u003e\";\n\nvar prefixed = htmlAutoprefixer.process(htmlString);\n```\n\nYou can optionally pass [cheerio options](https://github.com/cheeriojs/cheerio#loading).\n\n```javascript\nvar htmlString = \"\u003cHTML\u003e\u003c/HTML\u003e\";\n\nvar prefixed = htmlAutoprefixer.process(htmlString, { lowerCaseTags: true } );\n// \u003chtml\u003e\u003c/html\u003e\n```\n\n### Gulp\n\n[![](https://raw.githubusercontent.com/RebelMail/gulp-html-autoprefixer/master/gulp-html-autoprefixer.png)](https://github.com/RebelMail/gulp-html-autoprefixer)\n\nUsing [Gulp](http://gulpjs.com)? Use [gulp-html-autoprefixer](https://github.com/RebelMail/gulp-html-autoprefixer).\n\n```javascript\nvar gulp = require( \"gulp\" );\nvar htmlAutoprefixer = require( \"gulp-html-autoprefixer\" );\n\ngulp.task( \"html-autoprefix\", function( ) {\n  return gulp.src( \"./path/to/index-or-other.html\" )\n    .pipe( htmlAutoprefixer( ) )\n    .pipe( gulp.dest( \"dist\" ) );\n} );\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Added some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## Running tests\n\n```\nnpm install\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinus%2Fhtml-autoprefixer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevinus%2Fhtml-autoprefixer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinus%2Fhtml-autoprefixer/lists"}