All Projects → feross → simple-concat

feross / simple-concat

Licence: MIT License
Super-minimalist version of `concat-stream`. Less than 15 lines!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to simple-concat

rxjava2-http
Transmit RxJava2 Flowable over http with non-blocking backpressure
Stars: ✭ 19 (-9.52%)
Mutual labels:  stream
hipipe
Super fast C++17 data transformation pipeline (with Python interface).
Stars: ✭ 16 (-23.81%)
Mutual labels:  stream
evry
Split STDIN stream and execute specified command every N lines/seconds.
Stars: ✭ 61 (+190.48%)
Mutual labels:  stream
wise-river
Object streaming the way it should be.
Stars: ✭ 33 (+57.14%)
Mutual labels:  stream
node-jstream
Continuously reads in JSON and outputs Javascript objects.
Stars: ✭ 13 (-38.1%)
Mutual labels:  stream
reactive-rs
Streams and broadcasts: functional reactive programming in Rust.
Stars: ✭ 28 (+33.33%)
Mutual labels:  stream
multipart-read-stream
Read a multipart stream over HTTP
Stars: ✭ 13 (-38.1%)
Mutual labels:  stream
pv
Unix Pipe Viewer (pv) utility in Node.js
Stars: ✭ 20 (-4.76%)
Mutual labels:  stream
exile
Alternative to ports for running external programs. It provides back-pressure, non-blocking io, and solves port related issues
Stars: ✭ 74 (+252.38%)
Mutual labels:  stream
youtube-play
🎵 A command-line utility which streams music from YouTube
Stars: ✭ 47 (+123.81%)
Mutual labels:  stream
irc-tts
Broadcast your IRC channel via a text-to-speech webserver
Stars: ✭ 14 (-33.33%)
Mutual labels:  stream
node-stream-equal
Test that two readable streams are equal to each other.
Stars: ✭ 24 (+14.29%)
Mutual labels:  stream
moestreamer
macOS menubar music player
Stars: ✭ 17 (-19.05%)
Mutual labels:  stream
fridgefm-radio-core
Simple lightweight package for creating your own radio station via NodeJS heavily inspired by Shoutcast and Icecast.
Stars: ✭ 32 (+52.38%)
Mutual labels:  stream
laav
Asynchronous Audio / Video Library for H264 / MJPEG / OPUS / AAC / MP2 encoding, transcoding, recording and streaming from live sources
Stars: ✭ 50 (+138.1%)
Mutual labels:  stream
live-stream-media-source-extensions
Live stream h264 encoded mp4 video on media source extensions using ffmpeg, node.js, socket.io, and express. Works in chrome, firefox, safari, and android. Not iOS compatible. Work has moved to mse-live-player repo =>
Stars: ✭ 24 (+14.29%)
Mutual labels:  stream
cthulhu
Cthulhu is a simple python CLI application that streams torrents directly from various sources.
Stars: ✭ 26 (+23.81%)
Mutual labels:  stream
parallel stream
A parallelized stream implementation for Elixir
Stars: ✭ 86 (+309.52%)
Mutual labels:  stream
cpsfy
🚀 Tiny goodies for Continuation-Passing-Style functions, fully tested
Stars: ✭ 58 (+176.19%)
Mutual labels:  stream
lazy-arr
Arrays that look just like regular JavaScript arrays, but are computed lazily.
Stars: ✭ 67 (+219.05%)
Mutual labels:  stream

simple-concat travis npm downloads javascript style guide

Super-minimalist version of concat-stream. Less than 15 lines!

install

npm install simple-concat

usage

This example is longer than the implementation.

var s = new stream.PassThrough()
concat(s, function (err, buf) {
  if (err) throw err
  console.error(buf)
})
s.write('abc')
setTimeout(function () {
  s.write('123')
}, 10)
setTimeout(function () {
  s.write('456')
}, 20)
setTimeout(function () {
  s.end('789')
}, 30)

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].