0.2.1 • Published 8 years ago

keybase-chunk-stream v0.2.1

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
8 years ago

node-chunk-stream

A TransformStream implementation for applications where exact or exact-multiple chunk sizes are needed.

Install

npm install keybase-chunk-stream

Use cases

This tool was created for situations where you, as a stream consumer, need to modify data on a chunk-by-chunk basis, e.g. BaseX armoring or cryptography.

API

This tool exposes a simple TransformStream implementation with some sugar. To create a ChunkStream that simply passes through data without modification in chunks of even length:

cstream = require('keybase-chunk-stream')
transform_func = (x, cb) -> cb(null, x)
cs = new cstream.ChunkStream({transform_func, block_size :  2})
0.2.1

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago