{"id":22404632,"url":"https://github.com/xlsdg/tvcss","last_synced_at":"2025-03-27T01:17:09.429Z","repository":{"id":57153482,"uuid":"77729720","full_name":"xlsdg/tvcss","owner":"xlsdg","description":"A flexible layout tool for television and mobile","archived":false,"fork":false,"pushed_at":"2017-01-05T01:55:57.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-12-31T04:02:27.365Z","etag":null,"topics":["flexible","layout","mobile","px2rem","rem","rem2px","television"],"latest_commit_sha":null,"homepage":"","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/xlsdg.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":"2016-12-31T07:11:35.000Z","updated_at":"2017-01-18T06:06:29.000Z","dependencies_parsed_at":"2022-09-07T08:40:49.485Z","dependency_job_id":null,"html_url":"https://github.com/xlsdg/tvcss","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/xlsdg%2Ftvcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlsdg%2Ftvcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlsdg%2Ftvcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlsdg%2Ftvcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xlsdg","download_url":"https://codeload.github.com/xlsdg/tvcss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245761303,"owners_count":20667895,"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":["flexible","layout","mobile","px2rem","rem","rem2px","television"],"created_at":"2024-12-05T10:14:14.992Z","updated_at":"2025-03-27T01:17:09.412Z","avatar_url":"https://github.com/xlsdg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tvcss\n\n\u003e A flexible layout tool for television. Heavily inspired in [HotCss](https://github.com/imochen/hotcss).\n\n\n## Installation\n\n``` bash\n$ npm install --save tvcss\n```\n\n\n## Usage\n\n``` html\n  \u003c!DOCTYPE html\u003e\n  \u003chtml lang=\"en\"\u003e\n  \u003chead\u003e\n    \u003cmeta charset=\"UTF-8\"\u003e\n    \u003cmeta name=\"tvcss\" content=\"design-width=750\"/\u003e\n    \u003cscript src=\"/path/to/tvcss.min.js\"\u003e\u003c/script\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n  \u003c/body\u003e\n  \u003c/html\u003e\n```\n\nOR\n\n``` html\n  \u003cmeta name=\"tvcss\" content=\"initial-dpr=1.0,min-width=320,max-width=1920,design-width=1920\"/\u003e\n  \u003cscript src=\"//unpkg.com/tvcss/lib/tvcss.min.js\"\u003e\u003c/script\u003e\n```\n\n\n## Config\n\n* `initial-dpr` **[Optional]**\n* `min-width` **[Optional]**\n* `max-width` **[Optional]**\n* `design-width` **[Required]**\n\n\n## Properties\n\n* `dpr`\n* `minWidth`\n* `maxWidth`\n* `designWidth`\n\n\n## Methods\n\n* `px2rem`\n* `rem2px`\n* `resize`\n* `update` **[Delay resize]**\n\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlsdg%2Ftvcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxlsdg%2Ftvcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlsdg%2Ftvcss/lists"}