{"id":13480287,"url":"https://github.com/hendrikeng/tailwindcss-object-fit","last_synced_at":"2025-03-27T10:31:16.983Z","repository":{"id":65556295,"uuid":"136185954","full_name":"hendrikeng/tailwindcss-object-fit","owner":"hendrikeng","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-05T14:20:16.000Z","size":2,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T11:48:02.993Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hendrikeng.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":"2018-06-05T14:00:43.000Z","updated_at":"2022-04-21T22:15:08.000Z","dependencies_parsed_at":"2023-01-29T09:02:41.527Z","dependency_job_id":null,"html_url":"https://github.com/hendrikeng/tailwindcss-object-fit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendrikeng%2Ftailwindcss-object-fit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendrikeng%2Ftailwindcss-object-fit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendrikeng%2Ftailwindcss-object-fit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendrikeng%2Ftailwindcss-object-fit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hendrikeng","download_url":"https://codeload.github.com/hendrikeng/tailwindcss-object-fit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245826829,"owners_count":20678863,"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":[],"created_at":"2024-07-31T17:00:36.782Z","updated_at":"2025-03-27T10:31:16.672Z","avatar_url":"https://github.com/hendrikeng.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":[],"readme":"# Object-fit - TailwindCSS Plugin\n\nThis plugin generates classes for object-fit image properties.\n\n## Installation\n\nPull it in through npm or yarn:\n\n```bash\nnpm install tailwindcss-object-fit\n```\n\n```bash\nyarn add tailwindcss-object-fit\n```\n\n## Usage\n\nJust add it to the plugins array of your Tailwind config.\n\n```js\nplugins: [\n  // Other plugins\n  require('tailwindcss-object-fit')(['responsive']),\n],\n```\n\nBy default the plugin generates the following classes:\n\n```css\n.object-contain: { objectFit: 'contain' }\n.object-cover: { objectFit: 'cover' }\n.object-fill: { objectFit: 'fill' }\n.object-none: { objectFit: 'none' }\n.object-scale: { objectFit: 'scale-down' }\n```\n\n## License\n\nThis project is licensed under the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhendrikeng%2Ftailwindcss-object-fit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhendrikeng%2Ftailwindcss-object-fit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhendrikeng%2Ftailwindcss-object-fit/lists"}