rpep-bson

1.0.1 • Public • Published

rpep-msgpack

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

Install

yarn install rpep-bson

Usage

Accessing rpep:

// node.js
var rpepBson = require('rpep-bson')
 
// amd
require.config({paths: {rpepBson: '../dist/rpep-bson.umd.js'}})
require(['rpepBson'], function(rpepBson) { /* your code */ })
 
// global variable
<script src="rpep-bson.umd.js"></script>
rpepBson; // rpep-bson.umd.js can define rpepBson globally if you really
             //   want to shun module-based design

License

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

Package Sidebar

Install

npm i rpep-bson

Weekly Downloads

2

Version

1.0.1

License

none

Last publish

Collaborators

  • fresheneesz