{"id":13670180,"url":"https://github.com/egoist/saber-plugin-critical","last_synced_at":"2025-05-05T22:08:18.259Z","repository":{"id":45275554,"uuid":"179646187","full_name":"egoist/saber-plugin-critical","owner":"egoist","description":"Inline critical CSS.","archived":false,"fork":false,"pushed_at":"2021-12-25T13:50:00.000Z","size":177,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-16T06:33:53.330Z","etag":null,"topics":["critical","critical-css","saber","saber-plugin"],"latest_commit_sha":null,"homepage":null,"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/egoist.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":"2019-04-05T08:32:03.000Z","updated_at":"2020-01-22T16:06:24.000Z","dependencies_parsed_at":"2022-09-21T13:00:52.838Z","dependency_job_id":null,"html_url":"https://github.com/egoist/saber-plugin-critical","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fsaber-plugin-critical","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fsaber-plugin-critical/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fsaber-plugin-critical/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fsaber-plugin-critical/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egoist","download_url":"https://codeload.github.com/egoist/saber-plugin-critical/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221145923,"owners_count":16763937,"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":["critical","critical-css","saber","saber-plugin"],"created_at":"2024-08-02T09:00:35.639Z","updated_at":"2024-10-23T01:44:17.819Z","avatar_url":"https://github.com/egoist.png","language":"JavaScript","funding_links":["https://patreon.com/egoist"],"categories":["Plugins"],"sub_categories":[],"readme":"# saber-plugin-critical\n\n[![NPM version](https://badgen.net/npm/v/saber-plugin-critical)](https://npmjs.com/package/saber-plugin-critical) [![NPM downloads](https://badgen.net/npm/dm/saber-plugin-critical)](https://npmjs.com/package/saber-plugin-critical) [![CircleCI](https://badgen.net/circleci/github/egoist/saber-plugin-critical/master)](https://circleci.com/gh/egoist/saber-plugin-critical/tree/master) [![donate](https://badgen.net/badge/support%20me/donate/ff69b4)](https://patreon.com/egoist)\n\n## Introduction\n\nThis plugin extracts \u0026 inlines critical-path (above-the-fold) CSS from HTML after `saber generate`, for example if you're using [Tailwind CSS](https://tailwindcss.com) or other CSS frameworks you can use this plugin to remove unused CSS.\n\n## Install\n\n```bash\nyarn add saber-plugin-critical --dev\n```\n\n## Usage\n\nIn your `saber-config.yml` (or `.js`, `.toml` etc):\n\n```yml\nplugins:\n  - resolve: saber-plugin-critical\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 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## Author\n\n**saber-plugin-critical** © [EGOIST](https://github.com/egoist), Released under the [MIT](./LICENSE) License.\u003cbr\u003e\nAuthored and maintained by EGOIST with help from contributors ([list](https://github.com/egoist/saber-plugin-critical/contributors)).\n\n\u003e [Website](https://egoist.sh) · GitHub [@EGOIST](https://github.com/egoist) · Twitter [@\\_egoistlily](https://twitter.com/_egoistlily)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegoist%2Fsaber-plugin-critical","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegoist%2Fsaber-plugin-critical","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegoist%2Fsaber-plugin-critical/lists"}