{"id":45919766,"url":"https://github.com/dev-five-git/csstype-extra","last_synced_at":"2026-05-23T02:11:38.523Z","repository":{"id":323757803,"uuid":"1085706676","full_name":"dev-five-git/csstype-extra","owner":"dev-five-git","description":"Automatically generated, up-to-date TypeScript definitions for CSS based on Mozilla’s MDN data","archived":false,"fork":false,"pushed_at":"2026-02-14T00:29:15.000Z","size":172,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-14T07:19:15.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dev-five-git.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-29T12:05:24.000Z","updated_at":"2026-02-14T00:29:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dev-five-git/csstype-extra","commit_stats":null,"previous_names":["dev-five-git/csstypes","dev-five-git/csstype-extra","dev-five-git/csstypes-extra"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/dev-five-git/csstype-extra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-five-git%2Fcsstype-extra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-five-git%2Fcsstype-extra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-five-git%2Fcsstype-extra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-five-git%2Fcsstype-extra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-five-git","download_url":"https://codeload.github.com/dev-five-git/csstype-extra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-five-git%2Fcsstype-extra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29928990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"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":"2026-02-28T08:36:16.173Z","updated_at":"2026-02-28T08:36:17.273Z","avatar_url":"https://github.com/dev-five-git.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# csstype-extra\n\n[![npm version](https://img.shields.io/npm/v/csstype-extra.svg)](https://www.npmjs.com/package/csstype-extra)\n[![License](https://img.shields.io/npm/l/csstype-extra.svg)](LICENSE)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-blue.svg)](https://www.typescriptlang.org/)\n\nAutomatically generated, up-to-date TypeScript definitions for CSS based on Mozilla's MDN data.\n\n\u003e Inspired by [csstype](https://github.com/frenic/csstype)\n\n## 📦 Installation\n\n```bash\nnpm install csstype-extra\n# or\nbun add csstype-extra\n# or\npnpm add csstype-extra\n```\n\n## 🚀 Usage\n\n```typescript\nimport type { Properties, Property } from 'csstype-extra';\n\nconst style: Properties = {\n  color: 'red',\n  backgroundColor: 'blue',\n  width: '100px',\n  // TypeScript provides autocomplete for all CSS properties\n};\n\n// Use specific property types\ntype Color = Property.Color;\n```\n\n## ✨ Features\n\n- **Auto-generated**: Types are automatically generated based on official MDN CSS data\n- **Always up-to-date**: Automatically reflects CSS standard updates\n- **Strict types**: Accurate type definitions leveraging TypeScript's type system\n- **Complete support**: Full CSS feature support including standard properties, vendor-prefixed properties, at-rules, and pseudo-selectors\n\n## 🔄 Automatic Update System\n\nThis package **automatically checks once per day** for CSS standard updates and deploys a new version if changes are detected.\n\n### How It Works\n\n1. **Daily Check**: GitHub Actions runs every day at midnight (UTC)\n2. **Change Detection**: Fetches the latest CSS standards from the MDN data repository and compares with the current version\n3. **Automatic Deployment**: When changes are detected:\n   - Package version is automatically updated (patch version)\n   - Changes are committed and a PR is created\n   - PR is automatically merged and published to npm\n\nThis ensures you always have access to the latest CSS standards as types!\n\n## 📚 Type Structure\n\n```typescript\n// Standard properties\nStandardLonghandProperties\nStandardShorthandProperties\n\n// Vendor-prefixed properties\nVendorLonghandProperties\nVendorShorthandProperties\n\n// All properties\nProperties = StandardProperties \u0026 VendorProperties\n\n// At-rules\nAtRules\n\n// Pseudo-selectors\nPseudos\nAdvancedPseudos\nSimplePseudos\n\n// Individual property types\nProperty.Color\nProperty.Width\n// ... and more\n```\n\n## 🔗 Related Links\n\n- [MDN CSS Data](https://github.com/mdn/data)\n- [npm Package](https://www.npmjs.com/package/csstype-extra)\n- [GitHub Repository](https://github.com/dev-five-git/csstypes)\n\n## 📄 License\n\nApache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-five-git%2Fcsstype-extra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-five-git%2Fcsstype-extra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-five-git%2Fcsstype-extra/lists"}