{"id":16942051,"url":"https://github.com/samouri/ocaml-css","last_synced_at":"2025-03-22T12:32:56.220Z","repository":{"id":71231832,"uuid":"142262798","full_name":"samouri/ocaml-css","owner":"samouri","description":"css parser and printer for both OCaml and JavaScript.","archived":false,"fork":false,"pushed_at":"2019-01-04T00:46:25.000Z","size":2526,"stargazers_count":36,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-01T16:04:40.480Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://samouri.github.io/ocaml-css","language":"OCaml","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/samouri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-07-25T07:19:48.000Z","updated_at":"2022-12-08T22:06:49.000Z","dependencies_parsed_at":"2023-02-28T01:01:06.804Z","dependency_job_id":null,"html_url":"https://github.com/samouri/ocaml-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/samouri%2Focaml-css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samouri%2Focaml-css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samouri%2Focaml-css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samouri%2Focaml-css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samouri","download_url":"https://codeload.github.com/samouri/ocaml-css/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244208604,"owners_count":20416110,"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-13T21:10:58.968Z","updated_at":"2025-03-22T12:32:55.087Z","avatar_url":"https://github.com/samouri.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# css-parse\n[![Build Status](https://travis-ci.org/samouri/ocaml-css.svg?branch=master)](https://travis-ci.org/samouri/ocaml-css)\n\nparse, detect errors, and pretty-print css directly in terminal, natively in OCaml, or even from JavaScript.\n\n**this is under active development, please do not use yet**\n\n### Overview\n\n`css-parse` is written in OCaml and utilizes ocamllex and [menhir](http://gallium.inria.fr/~fpottier/menhir/manual.html) for lexer and parser generation.  A pretty good introduction and explanation of the tools can be found in [Real World Ocaml](https://v1.realworldocaml.org/v1/en/html/parsing-with-ocamllex-and-menhir.html).\nWe generate a binary as well that can be run from the command line.\n\n### Development\n\nYou'll need to install esy as well as menhir.\nTo bootstrap the project run:\n```\nesy install\nmake\n```\n\n### Testing Done\n\nIn order to test this module, I've stolen test cases from the very well tested [reworkcss](https://github.com/reworkcss/css).\nAll of the test cases are run through OUnit and can be executed with:\n\n```\nmake test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamouri%2Focaml-css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamouri%2Focaml-css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamouri%2Focaml-css/lists"}