Node.js implementation of a serializer for major Hypermedia Formats, in the context of Representor Pattern.
MIT License
Node.js implementation of a serializer for major Hypermedia Formats, in the context of Representor Pattern.
> npm install representor-serializer --save
var repserializer = require('representor-serializer');
var uber = repserializer(internal_representation, 'application/vnd.uber+json');
Included tests showcase examples of internal representation: https://github.com/apiacademy/representor/tree/master/test/fixtures
application/hal+json
(and application/vnd.hal+json
for backwards-compatibility).application/vnd.siren+json
application/vnd.collection+json
application/vnd.uber+json
@TODO