{"_id":"it-protocol-buffers","_rev":"4647284","name":"it-protocol-buffers","description":"Protocol Buffers length-prefixed async-iterator encoder/decoder","dist-tags":{"latest":"0.2.1"},"maintainers":[{"name":"mkg20001","email":""}],"time":{"modified":"2026-04-10T20:21:53.000Z","created":"2019-10-29T12:32:59.870Z","0.2.1":"2020-01-31T23:19:12.128Z","0.2.0":"2019-10-29T12:32:59.870Z"},"users":{},"author":{"name":"Maciej Krüger","email":"mkg20001@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/mkg20001/it-protocol-buffers.git"},"versions":{"0.2.1":{"name":"it-protocol-buffers","version":"0.2.1","description":"Protocol Buffers length-prefixed async-iterator encoder/decoder","main":"index.js","scripts":{"test":"mocha","testcov":"nyc mocha","watch":"nodemon -x npm test","cov":"nyc --reporter=lcov mocha","report-coverage":"nyc report --reporter=lcov > coverage.lcov && codecov"},"keywords":["protocol-buffers","protocol","buffers","async-iterator","it","stream","length-prefixed","length","prefixed","encoder","decoder"],"author":{"name":"Maciej Krüger","email":"mkg20001@gmail.com"},"license":"MIT","dependencies":{"it-buffer":"^0.1.1","it-length-prefixed":"^3.0.0"},"devDependencies":{"chai":"^4.2.0","it-pipe":"^1.1.0","mocha":"^6.2.2","nyc":"^14.1.1","protons":"^1.0.1","streaming-iterables":"^4.1.1"},"repository":{"type":"git","url":"git+https://github.com/mkg20001/it-protocol-buffers.git"},"bugs":{"url":"https://github.com/mkg20001/it-protocol-buffers/issues"},"homepage":"https://github.com/mkg20001/it-protocol-buffers#readme","directories":{"test":"test"},"gitHead":"10ff44361917436e52fbda247995d6685d26b8d0","_id":"it-protocol-buffers@0.2.1","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"shasum":"db7ab7972a52135876a000cc759fb773e1523098","size":1675,"noattachment":false,"key":"/it-protocol-buffers/-/it-protocol-buffers-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/it-protocol-buffers/download/it-protocol-buffers-0.2.1.tgz"},"maintainers":[{"name":"mkg20001","email":""}],"_npmUser":{"name":"mkg20001","email":"mkg20001@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/it-protocol-buffers_0.2.1_1580512752003_0.16401766227345682"},"_hasShrinkwrap":false,"publish_time":1580512752128,"_cnpm_publish_time":1580512752128,"_cnpmcore_publish_time":"2021-12-16T13:35:59.697Z"},"0.2.0":{"name":"it-protocol-buffers","version":"0.2.0","description":"Protocol Buffers length-prefixed async-iterator encoder/decoder","main":"index.js","scripts":{"test":"mocha","testcov":"nyc mocha","watch":"nodemon -x npm test","cov":"nyc --reporter=lcov mocha","report-coverage":"nyc report --reporter=lcov > coverage.lcov && codecov"},"keywords":["protocol-buffers","protocol","buffers","async-iterator","it","stream","length-prefixed","length","prefixed","encoder","decoder"],"author":{"name":"Maciej Krüger","email":"mkg20001@gmail.com"},"license":"MIT","dependencies":{"it-buffer":"^0.1.1","it-length-prefixed":"^2.0.0"},"devDependencies":{"chai":"^4.2.0","it-pipe":"^1.1.0","mocha":"^6.2.2","nyc":"^14.1.1","protons":"^1.0.1","streaming-iterables":"^4.1.1"},"repository":{"type":"git","url":"git+https://github.com/mkg20001/it-protocol-buffers.git"},"bugs":{"url":"https://github.com/mkg20001/it-protocol-buffers/issues"},"homepage":"https://github.com/mkg20001/it-protocol-buffers#readme","directories":{"test":"test"},"gitHead":"347435dddf472881d4fa6347e247b20d3a4a42b9","_id":"it-protocol-buffers@0.2.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"shasum":"75dbae9e41b9d73fda119b3e3272843b4ddf0869","size":1675,"noattachment":false,"key":"/it-protocol-buffers/-/it-protocol-buffers-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/it-protocol-buffers/download/it-protocol-buffers-0.2.0.tgz"},"maintainers":[{"name":"mkg20001","email":""}],"_npmUser":{"name":"mkg20001","email":"mkg20001@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/it-protocol-buffers_0.2.0_1572352379730_0.8156734264044145"},"_hasShrinkwrap":false,"publish_time":1572352379870,"_cnpm_publish_time":1572352379870,"_cnpmcore_publish_time":"2021-12-16T13:35:59.940Z"}},"readme":"# it-protocol-buffers\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/mkg20001/it-protocol-buffers.svg)](https://greenkeeper.io/)\n\n[![Build Status](https://travis-ci.org/mkg20001/it-protocol-buffers.svg?branch=master)](https://travis-ci.org/mkg20001/it-protocol-buffers) [![codecov](https://codecov.io/gh/mkg20001/it-protocol-buffers/branch/master/graph/badge.svg)](https://codecov.io/gh/mkg20001/it-protocol-buffers)\n\nProtocol Buffers length-prefixed async-iterator encoder/decoder\n\n# API\n\n-   `ppb.encode(proto)`\n\n    Encodes messages that come in\n\n    `proto`: The Protocol buffers message\n\n    returns: An async-iterator length-prefixed duplex\n\n-   `ppb.decode(proto)`\n\n    Decodes protocol-buffers that come in\n\n    `proto`: The Protocol buffers message\n\n    returns: An async-iterator length-prefixed duplex\n\n-   `.it`\n\n    The same api as above just without length-prefixing.\n\n    Not network safe. Useful for encoding/decoding single messages.\n","_attachments":{},"homepage":"https://github.com/mkg20001/it-protocol-buffers#readme","bugs":{"url":"https://github.com/mkg20001/it-protocol-buffers/issues"},"license":"MIT"}