hal2hyper
hal+json to hyper+json transform
Last updated 5 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 (5 years ago)

1 Versions

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

Copyright 2014 - 2016 © taobao.org |