{"id":24800537,"url":"https://github.com/sakanjo/tailwindcss-wh","last_synced_at":"2025-10-13T01:31:23.275Z","repository":{"id":203162432,"uuid":"702895630","full_name":"sakanjo/tailwindcss-wh","owner":"sakanjo","description":"A Tailwind CSS plugin that provides a shorthand for 'w-x h-x' as 'wh-x'.","archived":false,"fork":false,"pushed_at":"2023-10-23T18:30:36.000Z","size":266,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-21T02:56:47.295Z","etag":null,"topics":["tailwindcss","tailwindcss-plugin","tailwindcss-v3","width-height"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/sakanjo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"sakanjo"}},"created_at":"2023-10-10T08:06:36.000Z","updated_at":"2024-09-01T07:28:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"ef7f90e7-8029-42e4-8220-242f14550169","html_url":"https://github.com/sakanjo/tailwindcss-wh","commit_stats":null,"previous_names":["sakanjo/tailwindcss-wh"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sakanjo/tailwindcss-wh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakanjo%2Ftailwindcss-wh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakanjo%2Ftailwindcss-wh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakanjo%2Ftailwindcss-wh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakanjo%2Ftailwindcss-wh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sakanjo","download_url":"https://codeload.github.com/sakanjo/tailwindcss-wh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakanjo%2Ftailwindcss-wh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013897,"owners_count":26085325,"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-12T02:00:06.719Z","response_time":53,"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":["tailwindcss","tailwindcss-plugin","tailwindcss-v3","width-height"],"created_at":"2025-01-30T03:19:20.374Z","updated_at":"2025-10-13T01:31:23.270Z","avatar_url":"https://github.com/sakanjo.png","language":"TypeScript","funding_links":["https://github.com/sponsors/sakanjo"],"categories":[],"sub_categories":[],"readme":"![Tailwindcss wh](./img/banner.png)\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"npm bundle size\" src=\"https://img.shields.io/bundlephobia/min/tailwindcss-wh?style=for-the-badge\"\u003e\n    \u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/v/tailwindcss-wh?style=for-the-badge\"\u003e\n    \u003cimg alt=\"license\" src=\"https://img.shields.io/npm/l/tailwindcss-wh?style=for-the-badge\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eTailwindcss wh\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eDon't write the same number twice.\u003c/p\u003e\n\n\u003e ✨ Help support the maintenance of this package by [sponsoring me](https://github.com/sponsors/sakanjo).\n\n## ❔ Why\n\n```html\n\u003c!-- Tired of writing {n} twice ? --\u003e\n\u003cdiv class=\"w-12 h-12\"\u003e\u003c/div\u003e\n\n\u003c!-- Write {n} once --\u003e\n\u003cdiv class=\"wh-12\"\u003e\u003c/div\u003e\n```\n\n## 📦 Installation\n\n```\nnpm i -D tailwindcss-wh\n```\n\n## 🦄 Usage\n\nAdd the plugin to your `tailwind.config.js` file:\n\n```js\n// tailwind.config.js\nimport wh from 'tailwindcss-wh'\n\nexport default {\n    // ...\n\n    plugins: [\n        wh(),\n    ]\n}\n```\n\n### Specifying selector name\n\n```js\nwh({ selector: 'square' }) // square-[15rem]\nwh({ selector: 's' }) // s-4\n```\n\n## 💖 Support the development\n\n**Do you like this project? Support it by donating**\n\nClick the [\"💖 Sponsor\"](https://github.com/sponsors/sakanjo) at the top of this repo.\n\n## ©️ Credits\n\n- [Salah Kanjo](https://github.com/sakanjo)\n- [All Contributors](../../contributors)\n\n## 📄 License\n\n[MIT License](https://github.com/sakanjo/tailwindcss-wh/blob/master/LICENSE) © 2023-PRESENT [Salah Kanjo](https://github.com/sakanjo)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakanjo%2Ftailwindcss-wh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsakanjo%2Ftailwindcss-wh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakanjo%2Ftailwindcss-wh/lists"}