Representor (Serializer)
Node.js implementation of a serializer for major Hypermedia Formats, in the context of Representor Pattern.
Installation
> npm install representor-serializer --save
Usage
var repserializer = ; var uber = ;
Included tests showcase examples of internal representation: https://github.com/apiacademy/representor/tree/master/test/fixtures
Currently Implemented Hypermedia Formats
- HAL:
application/hal+json
(andapplication/vnd.hal+json
for backwards-compatibility). - SIREN:
application/vnd.siren+json
- Collection+JSON:
application/vnd.collection+json
- UBER:
application/vnd.uber+json
How to add a new serializer
@TODO