{"id":20760391,"url":"https://github.com/vanng822/css","last_synced_at":"2025-04-05T15:09:11.878Z","repository":{"id":27675964,"uuid":"31162132","full_name":"vanng822/css","owner":"vanng822","description":"Basic css parser in golang","archived":false,"fork":false,"pushed_at":"2024-11-26T11:05:03.000Z","size":60,"stargazers_count":33,"open_issues_count":2,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-29T14:12:29.693Z","etag":null,"topics":["css","go","parser"],"latest_commit_sha":null,"homepage":"","language":"Go","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/vanng822.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}},"created_at":"2015-02-22T12:20:27.000Z","updated_at":"2025-01-03T12:54:47.000Z","dependencies_parsed_at":"2024-04-30T20:54:40.219Z","dependency_job_id":"d58bb2a9-420b-4ecd-9535-1d6b99577fed","html_url":"https://github.com/vanng822/css","commit_stats":{"total_commits":74,"total_committers":3,"mean_commits":"24.666666666666668","dds":0.06756756756756754,"last_synced_commit":"813a01a4df36b94c2d44a85f52ec4caa7f79d7d9"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Fcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Fcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Fcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Fcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanng822","download_url":"https://codeload.github.com/vanng822/css/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353746,"owners_count":20925329,"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":["css","go","parser"],"created_at":"2024-11-17T10:13:25.997Z","updated_at":"2025-04-05T15:09:11.862Z","avatar_url":"https://github.com/vanng822.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# css\n\nPackage css is for parsing css stylesheet.\n\n# Document\n\n[![GoDoc](https://godoc.org/github.com/vanng822/css?status.svg)](https://godoc.org/github.com/vanng822/css)\n\n# example\n\n\timport (\n\t\t\"github.com/vanng822/css\"\n\t\t\"fmt\"\n\t)\n\tfunc main() {\n\t\tcsstext := \"td {width: 100px; height: 100px;}\"\n\t\tss := css.Parse(csstext)\n\t\trules := ss.GetCSSRuleList()\n\t\tfor _, rule := range rules {\n\t\t\tfmt.Println(rule.Style.Selector.Text())\n\t\t\tfmt.Println(rule.Style.Styles)\n\t\t}\n\t}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanng822%2Fcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanng822%2Fcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanng822%2Fcss/lists"}