Standard modules are built into mq — use them with include or import, no installation needed.
Module Description
jsonJSON parser and formatter
yamlYAML 1.2 parser and formatter
tomlTOML parser and formatter
xmlXML parser and formatter
csvCSV / TSV parser and formatter
cborCBOR binary format support
semverSemantic versioning (SemVer) utilities
sectionMarkdown section extraction helpers
tableTable rendering utilities
fuzzyFuzzy string matching
toonTOON format support
testTesting framework (assert_eq, assert_true, …)
These modules extend mq with additional parsers, utilities, and domain-specific languages.
All modules support HTTP Import — no local installation required.
import "github.com/harehare/<module-name>"
Module Description
json5.mq JSON5 — comments, trailing commas, unquoted keys
hcl.mq HCL (HashiCorp Configuration Language) — blocks, labels, attributes
pkl.mq PKL — Apple’s configuration language, with type annotations and collection literals
kdl.mq KDL document language
ini.mq INI file parser and serializer
ndjson.mq NDJSON / JSON Lines
logfmt.mq logfmt structured log lines (key=value)
cron.mq Cron expression parser and human-readable descriptions
jwt.mq JWT decoder — inspect header and payload without verification
okf.mq OKF (Open Knowledge Format) reader/writer — concept documents, cross-links, citations, log/index entries
url.mq URL parsing, building, and relative-resolution utilities for mq.
changelog.mq Keep a Changelog Markdown parser and serializer
dotenv.mq .env file parser and serializer — quotes, comments, and escape sequences
jsonpath.mq JSONPath (RFC 9535 -style) query engine for mq’s parsed JSON values
jsonschema.mq JSON Schema validator
xpath.mq Abbreviated XPath query engine for xml.mq’s parsed value tree
Module Description
dockerfile.mq Dockerfile instruction parser
k8s.mq Kubernetes manifest parser — metadata, containers, images, ports, resources
gha.mq GitHub Actions workflow parser — jobs, steps, triggers, matrix
openapi.mq OpenAPI 3.x spec parser — paths, operations, schemas, security schemes
aws.mq AWS CLI / SDK JSON response processor — filter, extract, and render Markdown tables for EC2, S3, IAM, Lambda, RDS, ECS, EKS, and 50+ other services
Module Description
ansi.mq ANSI terminal escape code utilities
case.mq String case conversion utilities implemented as an mq module
emoji.mq GitHub-style emoji shortcode <-> Unicode emoji conversion
Module Description
lisp.mq Scheme-like Lisp interpreter
bf.mq Brainfuck interpreter
jq.mq Implementation of the jq JSON processor, written in mq
Module Description
parser_combinator.mq A small parser-combinator toolkit, in the spirit of Rust’s nom
diff.mq Text and array diffing utilities, built on mq’s native Myers-diff engine
template.mq A lightweight Mustache/Handlebars-style templating engine