package css

  1. Overview
  2. Docs
CSS parser and printer

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-css-0.1.0.tar.bz2
md5=bc4bdcf47b37c7bd50bf9f31c391dcd2
sha512=8fa12c193638ba8c2d307f48e477cdac839ca25f865f7f350bc7675086c3c4a70bc1e5936d35d64aab9d8da2c9806005be70c59ac3d7f3c407a3861f6e0a7cf8

README.md.html

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