package css

  1. Overview
  2. Docs
CSS parser and printer

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-css-0.2.0.tar.bz2
md5=ceee290f230eb786d59de6ffcf692695
sha512=9ee5de92d764a5bb5b7dac1bc48d5892ccd8425d4226842148aae3322bf7335a738cc695fb36a29e3f90a487750a922f7301f44b6e60bb8954e4ad508ae60116

Description

Published: 13 Sep 2024

README

OCaml-css -- CSS parser, printer and more

🌐 OCaml-css homepage

OCaml-css is an OCaml library to parse and print CSS. It can also expand namespaces and perform computations on property values.

Parsing uses Angstrom to dynamically choose the parser when encountering a property declaration.

Parser can be extended by defining additional properties.

Documentation

Documentation is available here.

Development

Development is hosted on Framagit.

There are already some predefined properties. Contributions are welcome to add more. Shorthand properties are defined too.

CSS is released under GPL3 license.

Installation

The css package is installable with opam:

$ opam install css

Current state of OCaml-css can be installed with:

$ opam pin add css git@framagit.org:zoggy/ocaml-css.git

Releases

Dependencies (7)

  1. rdf >= "1.0.0"
  2. logs >= "0.7.0"
  3. iri >= "1.0.0"
  4. fmt >= "0.9.0"
  5. angstrom >= "0.16.0"
  6. ocaml >= "4.12.0"
  7. dune >= "2.9"

Dev Dependencies (3)

  1. odoc with-doc
  2. lwt_ppx with-test
  3. alcotest with-test

Used by (1)

  1. stk >= "0.2.0"

Conflicts

None

OCaml

Innovation. Community. Security.