node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey ยป



Protocol stream message framing/deframing using LEB128 encoded length headers.

Used as a min-stream-push-filter that can frame and deframe protocol streams.

framer(emit) -> emit

deframer(emit) -> emit

See test.js for usage examples.