{"id":16881589,"url":"https://github.com/benbjohnson/css","last_synced_at":"2025-07-17T04:36:38.358Z","repository":{"id":19221117,"uuid":"22455376","full_name":"benbjohnson/css","owner":"benbjohnson","description":"W3C-compliant CSS3 parser and scanner","archived":false,"fork":false,"pushed_at":"2018-08-04T09:18:46.000Z","size":339,"stargazers_count":84,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T23:56:14.234Z","etag":null,"topics":[],"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/benbjohnson.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":"2014-07-31T03:45:11.000Z","updated_at":"2025-03-07T00:02:40.000Z","dependencies_parsed_at":"2022-08-21T09:10:51.773Z","dependency_job_id":null,"html_url":"https://github.com/benbjohnson/css","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benbjohnson","download_url":"https://codeload.github.com/benbjohnson/css/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244192359,"owners_count":20413509,"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-10-13T16:04:05.984Z","updated_at":"2025-03-22T07:32:13.572Z","avatar_url":"https://github.com/benbjohnson.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"css [![Build Status](https://drone.io/github.com/benbjohnson/css/status.png)](https://drone.io/github.com/benbjohnson/css/latest) [![Coverage Status](https://coveralls.io/repos/benbjohnson/css/badge.png?branch=master)](https://coveralls.io/r/benbjohnson/css?branch=master) [![GoDoc](https://godoc.org/github.com/benbjohnson/css?status.png)](https://godoc.org/github.com/benbjohnson/css) ![Project status](http://img.shields.io/status/alpha.png?color=red)\n===\n\nThis package provides a CSS parser and scanner in pure Go. It is an\nimplementation as specified in the W3C's [CSS Syntax Module Level 3][css3-syntax].\n\nFor documentation on how to use this package, please see the [godoc][godoc].\n\n[css3-syntax]: http://www.w3.org/TR/css3-syntax/\n[godoc]: https://godoc.org/github.com/benbjohnson/css\n\n\n## Project Status\n\nThe scanner and parser are fully compliant with the CSS3 specification.\nThe printer will print nodes generated from the scanner and parser, however,\nit is not fully compliant with the [CSS3 serialization][serialization] spec.\nAdditionally, the printer does not provide an option to collapse whitespace\nalthough that will be added in the future.\n\nThis project has 100% test coverage, however, it is still a new project.\nPlease report any bugs you experience or let me know where the documentation\ncan be clearer.\n\n[serialization]: http://www.w3.org/TR/css3-syntax/#serialization\n\n\n## Caveats\n\nThe CSS scanner in this package only supports UTF-8 encoding. The @charset\ndirective will be ignored. If you need to scan a different encoding then\nplease convert it to UTF-8 first using a tool such as [iconv][iconv].\n\n[iconv]: http://en.wikipedia.org/wiki/Iconv\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenbjohnson%2Fcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenbjohnson%2Fcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenbjohnson%2Fcss/lists"}