Changelog

JavaScript Icon changelog.com

halbert: a JavaScript implementation of HAL

logged by @logbot 2013-03-13T22:55:21Z permalink #javascript

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.

0:00 / 0:00