ipfs-protobuf-codec
This is a simple codec for node-ipfs and msgproto. It uses protobufjs.
All this module does is makes the interface nice + uniform among ipfs codecs.
var fs = var log = consolelogvar src = fsvar protobuf = var Foo = protobufFoovar PassThrough = PassThrough // en/decodevar buf = Foo // make en/decode streamsvar stream1 = Foostream1 var stream2 = Foostream2stream1stream1stream1 // wrap an encoded duplex stream with duplex en/decodingvar encodedWireStream = var stream3 = Foostream3stream3