edwinans / opam2json

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

opam2json: convert opam file syntax to JSON

opam2json reads files in the opam syntax and converts them into a JSON representation. Note that the representation is not natural, since the opam file format contains some constructs which don't map into "native" JSON.

By default, the program reads an opam file from stdin, and writes a JSON representation of it to stdout. See opam2json --help for more options.

JSON format

⚠️ JSON format is unstable until opam2json reaches 1.0.

Thanks

A big source of inspiration for this project was opam-ed.

About

License:Other


Languages

Language:OCaml 79.7%Language:Nix 12.4%Language:Makefile 7.9%