HALibut - A HAL JavaScript Client
A decent HAL JS client doesn't exist. Let's make one.
For a Python lib that transforms docs into HAL, maybe consider dougrain.
Goals
Works in nodejs and browserTraversable via_link
nodes.Restrictive based onALLOW
header- Supports all HTTP methods
Automaps properties directly onto the result resource
Running tests
make test
will run for all the environments found in testem.json
Pretty docs
make docs
then visit them in your browser
Debugging
If you have problems due to expectations you may check the output found in the /logs
directory. These log files are piping output from
the fixture-server
server into them.
Integrations
-
CommonJS :
browserify
is being used to run tests in the browser. -
XHR: Any xhr that exposes a
Function
, takes acfg
object and returns aPromise
will work.