Literate HTTP
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.coffee.mk @ 4401ae2
bin
src
test
.coffeelint.json
.gitignore
.gitmodules
.npmignore
.travis.yml
Makefile
README.apib.md
README.curl-trace.md
README.curl.md
README.http.md
README.json
README.lithttp.md
README.md
custom.mk
index.coffee
package.json
testem.yml

README.md

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