halbert: a JavaScript implementation of HAL

Building an awesome hypermedia API, and using HAL to do it? You might want to check out halbert.

Halbert is pretty easy to install and use, just do this:

$ npm install halbert

And then, in your code:

var parser = require('halbert').parser;
var resource = parser(json_object);

And that's it! Of course, you'll get an error if the JSON isn't proper HAL.

News Films

Our little film studio focuses on telling developer-centric stories that need to be seen.

Beyond Code: Season 3 / GopherCon 2015

0:00 / 0:00