for-GET / literate-http

Literate HTTP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Literate HTTP Build Status

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

Install

npm install lithttp

CLI Usage

  • lithttp-to-ast parses into the JSON AST
  • lithttp-from-ast parses 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 apib

JS Usage

TBD (to be documented; see index)

License

UNLICENSE

About

Literate HTTP


Languages

Language:CoffeeScript 100.0%