Parse HTTP transactions into a JSON AST and back, like
HTTP, or litHTTP (simplified HTTP), or curl, or curl-trace, or Apiary blueprint
into/from
or JSON AST
npm install lithttplithttp-to-astparses into the JSON ASTlithttp-from-astparses from the JSON AST
curl -s https://raw.githubusercontent.com/for-GET/literate-http/master/README.http.md | \
lithttp-to-ast
curl -s https://raw.githubusercontent.com/for-GET/literate-http/master/README.lithttp.md | \
lithttp-to-ast
curl -s https://raw.githubusercontent.com/for-GET/literate-http/master/README.curl.md | \
lithttp-to-ast curl
curl -s https://raw.githubusercontent.com/for-GET/literate-http/master/README.curl-trace.md | \
lithttp-to-ast curl-trace
curl -s https://raw.githubusercontent.com/for-GET/literate-http/master/README.apib.md | \
lithttp-to-ast apibTBD (to be documented; see index)
