{"id":23053529,"url":"https://github.com/component/css","last_synced_at":"2025-06-14T08:32:29.899Z","repository":{"id":6054896,"uuid":"7280068","full_name":"component/css","owner":"component","description":"DOM element css helper","archived":false,"fork":false,"pushed_at":"2017-10-28T21:06:06.000Z","size":34,"stargazers_count":30,"open_issues_count":6,"forks_count":20,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-03T07:05:06.493Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/component.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-21T22:35:52.000Z","updated_at":"2023-08-24T20:39:37.000Z","dependencies_parsed_at":"2022-09-26T17:00:56.688Z","dependency_job_id":null,"html_url":"https://github.com/component/css","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/component/css","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/component","download_url":"https://codeload.github.com/component/css/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fcss/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259786316,"owners_count":22910916,"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-12-16T00:18:32.545Z","updated_at":"2025-06-14T08:32:29.876Z","avatar_url":"https://github.com/component.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# css\n\n  jQuery's [css()](http://api.jquery.com/css/) method.\n\n## Installation\n\n  Install with [component(1)](http://component.io):\n\n    $ component install component/css\n\n## API\n\n### css(el, prop)\n\nGet the computed value of the `prop` on `el`.\n\n```js\ncss(p, 'color')\n```\n\n### css(el, prop, value)\n\nSet the CSS `value` on the `prop` on `el`\n\n```js\ncss(p, 'color', 'red')\n```\n\n### css(el, styles)\n\nSet a `styles` object to `el`\n\n```js\ncss(p, {\n  color: 'red',\n  background: 'blue'\n})\n```\n\n## TODO\n\n- Finish porting jQuery [css unit tests](https://github.com/jquery/jquery/blob/master/test/unit/css.js) over\n\n## License\n\n  MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Fcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomponent%2Fcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Fcss/lists"}