1.0.0 • Published 6 years ago

rpep-msgpack v1.0.0

Weekly downloads
6
License
-
Repository
github
Last release
6 years ago

rpep-msgpack

This is a msgpack serialization for rpep.js. RPEP is a simple, light-weight protocol for request-response and stream-event style communication between peers.

Install

yarn install rpep-msgpack

Usage

Accessing rpep:

// node.js
var rpepMsgpack = require('rpep-msgpack')

// amd
require.config({paths: {rpepMsgpack: '../dist/rpep-msgpack.umd.js'}})
require(['rpepMsgpack'], function(rpepMsgpack) { /* your code */ })

// global variable
<script src="rpep-msgpack.umd.js"></script>
rpepMsgpack; // rpep-msgpack.umd.js can define rpep-msgpack globally if you really
             //   want to shun module-based design

License

Released under the MIT license: http://opensource.org/licenses/MIT