Skip to content

hypergroup/cj2hyper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Collection+JSON to hyper+json transform

Resources

License

Stars

Watchers

Forks

Packages

No packages published