Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 575 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 575 Bytes

Build Status

msg-pack-plugin for Hapi v18

  • npm install msg-pack-plugin --save

  • Plugin registration:

        server.register(require('msg-pack-plugin'));
  • To validate using the example in the source you could use curl (this assumes you have msgpack2json installed):

        curl --header "accept: application/x-msgpack" 'http://localhost:3000/api/user' | msgpack2json -d