hal2hyper
hal+json to hyper+json transform
Last updated 6 years ago by camshaft .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hal2hyper 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.0                                ...           latest (6 years ago)

1 Versions

  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |