hal2hyper

0.1.0 • Public • Published

hal2hyper

hal+json to hyper+json transform

Installation

$ npm install hal2hyper

Usage

var hal2hyper = require('hal2hyper');

var document = {
  "_links": {
    "self": { "href": "/example_resource" }
  }
};

hal2hyper(document) // {"href": "/example_resource"}

See test cases for example output.

Testing

$ npm test

Package Sidebar

Install

npm i hal2hyper

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • camshaft