All Projects → feross → Chunk Store Stream

feross / Chunk Store Stream

Licence: mit
Convert an abstract-chunk-store compliant store into a readable or writable stream

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Chunk Store Stream

Labeled Stream Splicer
stream splicer with labels
Stars: ✭ 37 (+54.17%)
Mutual labels:  stream, streams
Cypher Stream
Neo4j Cypher queries as Node.js object streams
Stars: ✭ 58 (+141.67%)
Mutual labels:  stream, streams
Remote Web Streams
Web streams that work across web workers and iframes.
Stars: ✭ 26 (+8.33%)
Mutual labels:  stream, streams
Multistream
A stream that emits multiple other streams one after another (streams3)
Stars: ✭ 237 (+887.5%)
Mutual labels:  stream, streams
Sql Streams
Painless low level jdbc abstraction using the java 8 stream api.
Stars: ✭ 17 (-29.17%)
Mutual labels:  stream, streams
wasm-streams
Bridging between web streams and Rust streams using WebAssembly
Stars: ✭ 61 (+154.17%)
Mutual labels:  stream, streams
Stream Splicer
streaming pipeline with a mutable configuration
Stars: ✭ 52 (+116.67%)
Mutual labels:  stream, streams
streamplify
Java 8 combinatorics-related streams and other utilities
Stars: ✭ 40 (+66.67%)
Mutual labels:  stream, streams
go-streams
Stream Collections for Go. Inspired in Java 8 Streams and .NET Linq
Stars: ✭ 127 (+429.17%)
Mutual labels:  stream, streams
godsend
A simple and eloquent workflow for streaming messages to micro-services.
Stars: ✭ 15 (-37.5%)
Mutual labels:  stream, streams
web-streams-polyfill
Web Streams, based on the WHATWG spec reference implementation
Stars: ✭ 198 (+725%)
Mutual labels:  stream, streams
Json Chunks
streamable json encoder
Stars: ✭ 17 (-29.17%)
Mutual labels:  stream
Grpc By Example Java
A collection of useful/essential gRPC Java Examples
Stars: ✭ 709 (+2854.17%)
Mutual labels:  stream
Streamhut
Stream your terminal to web without installing anything 🌐
Stars: ✭ 676 (+2716.67%)
Mutual labels:  stream
Moose
🦌 An application to stream, cast and download torrents.
Stars: ✭ 656 (+2633.33%)
Mutual labels:  stream
Node Jl Sql Api
SQL for JS objects streams
Stars: ✭ 19 (-20.83%)
Mutual labels:  stream
Smux
A Stream Multiplexing Library for golang with least memory usage
Stars: ✭ 818 (+3308.33%)
Mutual labels:  stream
Pbjvideoplayer
▶️ video player, simple way to play and stream media on iOS/tvOS
Stars: ✭ 620 (+2483.33%)
Mutual labels:  stream
Go Streams
A lightweight stream processing library for Go
Stars: ✭ 615 (+2462.5%)
Mutual labels:  streams
Kafka Streams
equivalent to kafka-streams 🐙 for nodejs ✨🐢🚀✨
Stars: ✭ 613 (+2454.17%)
Mutual labels:  streams

chunk-store-stream ci npm downloads javascript style guide

Convert an abstract-chunk-store store into a readable or writable stream

abstract chunk store

Read/write data from/to a chunk store, with streams.

Install

npm install chunk-store-stream

Usage

Create a read stream

const { ChunkStoreReadStream } = require('chunk-store-stream')
const FSChunkStore = require('fs-chunk-store') // any chunk store will work

const chunkLength = 3
const store = new FSChunkStore(chunkLength)

// ... put some data in the store

const stream = new ChunkStoreReadStream(store, chunkLength, { length: 6 })
stream.pipe(process.stdout)

Create a write stream

const { ChunkStoreWriteStream } = require('chunk-store-stream')
const FSChunkStore = require('fs-chunk-store') // any chunk store will work
const fs = require('fs')

const chunkLength = 3
const store = new FSChunkStore(chunkLength)

const stream = new ChunkStoreWriteStream(store, chunkLength)
fs.createReadStream('file.txt').pipe(stream)

License

MIT. Copyright (c) Feross Aboukhadijeh.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].