{"id":17963025,"url":"https://github.com/sparanoid/grunt-uncss-inline","last_synced_at":"2025-04-03T19:21:56.317Z","repository":{"id":55151770,"uuid":"60155605","full_name":"sparanoid/grunt-uncss-inline","owner":"sparanoid","description":"UnCSS your inline stylesheet to the next level. A fork of addyosmani/grunt-uncss doing the exact same thing, but does focus on processing the inline CSS only.","archived":false,"fork":false,"pushed_at":"2025-01-23T21:02:16.000Z","size":539,"stargazers_count":4,"open_issues_count":11,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-09T13:21:55.714Z","etag":null,"topics":["grunt","uncss"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/sparanoid.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-MIT","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}},"created_at":"2016-06-01T07:38:06.000Z","updated_at":"2023-05-21T20:44:04.000Z","dependencies_parsed_at":"2024-06-21T02:16:06.383Z","dependency_job_id":"7f699357-0825-49ca-9db1-67c7969a2433","html_url":"https://github.com/sparanoid/grunt-uncss-inline","commit_stats":{"total_commits":289,"total_committers":24,"mean_commits":"12.041666666666666","dds":0.7093425605536332,"last_synced_commit":"c04c0d000a1f6b2c34bdc79d5873dc07809451b2"},"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparanoid%2Fgrunt-uncss-inline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparanoid%2Fgrunt-uncss-inline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparanoid%2Fgrunt-uncss-inline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparanoid%2Fgrunt-uncss-inline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sparanoid","download_url":"https://codeload.github.com/sparanoid/grunt-uncss-inline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247062039,"owners_count":20877205,"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":["grunt","uncss"],"created_at":"2024-10-29T11:22:53.266Z","updated_at":"2025-04-03T19:21:56.298Z","avatar_url":"https://github.com/sparanoid.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-uncss-inline [![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/)\n\n[![NPM version](https://img.shields.io/npm/v/grunt-uncss-inline.svg?)](https://www.npmjs.com/package/grunt-uncss-inline)\n[![Linux Build Status](https://img.shields.io/travis/sparanoid/grunt-uncss-inline/master.svg?label=Linux%20build)](https://travis-ci.org/sparanoid/grunt-uncss-inline)\n[![Windows Build status](https://img.shields.io/appveyor/ci/sparanoid/grunt-uncss-inline/master.svg?label=Windows%20build)](https://ci.appveyor.com/project/sparanoid/grunt-uncss-inline/branch/master)\n[![Dependency Status](https://img.shields.io/david/sparanoid/grunt-uncss-inline.svg)](https://david-dm.org/sparanoid/grunt-uncss-inline)\n[![devDependency Status](https://img.shields.io/david/dev/sparanoid/grunt-uncss-inline.svg)](https://david-dm.org/sparanoid/grunt-uncss-inline#info=devDependencies)\n\n\u003e A fork of [grunt-uncss](https://github.com/addyosmani/grunt-uncss) doing the exact same thing, but does focus on processing the inline CSS only.\n\n## Getting Started\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the\n[Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create\na [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins.\nOnce you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-uncss-inline --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-uncss-inline');\n```\n\n**Issues with the output should be reported on the UnCSS [issue tracker](https://github.com/giakki/uncss/issues).**\n\n**Original usage examples should head to [addyosmani/grunt-uncss](https://github.com/addyosmani/grunt-uncss).**\n\n## Overview\n\nThis plugin do the following things:\n\n1. Search all `\u003cstyle\u003e` tags and combine all the inline CSS into one in the searching order.\n2. Pass combined inline CSS to `uncss` for the cleanup.\n3. Save cleaned CSS to the first `\u003cstyle\u003e` found in the DOM.\n4. Remove all other processed `\u003cstyle\u003e` tags.\n\nExample configurations for `Gruntfile.coffee` (all `uncss_inline` specific default options included):\n\n```coffee\nuncss_inline:\n  options:\n    style_selector: 'style:not([amp-boilerplate]):not([scoped])'\n\n  dist:\n    files: [\n      expand: true\n      cwd: \"dist/\"\n      src: \"**/*.html\"\n      dest: \"dist/\"\n    ]\n```\n\n## Limitations\n\nDoesn't work well with scoped CSS at the moment.\n\n## Fork Maintainers\n\n- [@sparanoid](http://github.com/sparanoid)\n\n## Original Authors and Maintainers\n\n- [@addyosmani](https://github.com/addyosmani)\n- [@XhmikosR](https://github.com/XhmikosR)\n\n## License\n\n(C) Addy Osmani 2016, released under the MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparanoid%2Fgrunt-uncss-inline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparanoid%2Fgrunt-uncss-inline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparanoid%2Fgrunt-uncss-inline/lists"}