it-pb-stream
TypeScript icon, indicating that this package has built-in type declarations

4.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i it-pb-stream

Weekly Downloads

3,305

Version

4.0.2

License

Apache-2.0 OR MIT

Unpacked Size

42.7 kB

Total Files

10

Last publish

Collaborators

  • achingbrain