Skip to content

Tixit/rpep-msgpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rpep-msgpack

This is a msgpack serialization for rpep.js using kawanet/msgpack-lite. 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/rpepMsgpack.umd.js'}})
require(['rpepMsgpack'], function(rpepMsgpack) { /* your code */ })

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

License

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

About

A msgpack serialization for rpep.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published