Skip to content

A convenience-wrapper around protocol-buffers and lp-messages functions

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

achingbrain/it-pb-stream

Repository files navigation

it-pb-stream

codecov CI

A convenience-wrapper around protocol-buffers and lp-messages functions

Table of contents

Install

$ npm i it-pb-stream

Browser <script> tag

Loading this module through a script tag will make it's exports available as ItPbStream in the global namespace.

<script src="https://unpkg.com/it-pb-stream/dist/index.min.js"></script>
> npm install it-pb-stream

Usage

import { pbStream } from 'it-pb-stream'

const stream = pbStream(duplex)
stream.writeLP(buf)
stream.writePB(buf, def)
//.. etc

API Docs

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

A convenience-wrapper around protocol-buffers and lp-messages functions

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published