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

cj2hyper

Collection+JSON to hyper+json transform.

Installation

$ npm install cj2hyper

Usage

var cj2hyper = require('cj2hyper');

var document = {
  "collection": {
    "version": "1.0",
    "href" : "http://example.org/friends/"
  }
};

cj2hyper(document) // {"href": "http://example.org/friends/"}

See test cases for example output.

Testing

$ npm test

Current Tags

  • 0.1.1                                ...           latest (6 years ago)

2 Versions

  • 0.1.1                                ...           6 years ago
  • 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 2
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |