The official suite of data converters for transforming structured data formats (YAML, JSON, TOML, and more) into HML.
x2hml is maintained as a monorepo containing standalone command-line tools and libraries for each source format.
| Package | Language | Description | Status |
|---|---|---|---|
yml2hml |
hica | Convert YAML documents and streams to HML | 🟡 Active Dev |
json2hml |
hica | Convert JSON payloads and streams to HML | 📑 Planned |
# Convert a YAML file to HML
yml2hml input.yaml > output.hml
# Pipeline into query tools like hq
yml2hml service.yml | hq '.spec.ports[]'
- HML Specification – The target markup language definition.
- HML library – Reference implementation of the HML specification in hica.
- hq – A command-line HML query and stream processor (not started yet).
Licensed under the MIT License.