All Projects → gulpjs → lead

gulpjs / lead

Licence: MIT license
Sink your streams.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to lead

gulp-shopify-theme
Shopify theme synchronisation during development
Stars: ✭ 26 (+85.71%)
Mutual labels:  gulp, gulpjs
gulp-sass-bootstrap-boilerplate
⏰📌 Boilerplate with gulp.js, Sass, Babel, and Browsersync.
Stars: ✭ 24 (+71.43%)
Mutual labels:  gulp, gulpjs
tomanistor.com
Personal portfolio website and blog created with Hugo
Stars: ✭ 14 (+0%)
Mutual labels:  gulp, gulpjs
Gulp Awspublish
gulp plugin to publish files to amazon s3
Stars: ✭ 398 (+2742.86%)
Mutual labels:  gulp, stream
Gulp Run
Pipe to shell commands in gulp
Stars: ✭ 148 (+957.14%)
Mutual labels:  gulp, stream
sass-starter-pack
Sass starter files using Gulp v4.0.0 🔥
Stars: ✭ 34 (+142.86%)
Mutual labels:  gulp, gulpjs
Gulp Remember
A plugin for gulp that remembers and recalls files passed through it
Stars: ✭ 149 (+964.29%)
Mutual labels:  gulp, stream
gulp
Gulp Türkçe Çeviri
Stars: ✭ 37 (+164.29%)
Mutual labels:  gulp, gulpjs
YOLO-Streaming
Push-pull streaming and Web display of YOLO series
Stars: ✭ 56 (+300%)
Mutual labels:  stream
angularJS
这个仓库提供git使用教程 gulp使用教程 angularJS入门->进阶 的教程
Stars: ✭ 61 (+335.71%)
Mutual labels:  gulp
http-emitter
📡 Emitting psr-7 responses.
Stars: ✭ 31 (+121.43%)
Mutual labels:  stream
aws-kinesis-consumer
Consume an AWS Kinesis Data Stream to look over the records from a terminal.
Stars: ✭ 23 (+64.29%)
Mutual labels:  stream
fractal-starter-kit
Starter kit for Fractal with SCSS, Webpack, XO, sass-lint and Gulp
Stars: ✭ 22 (+57.14%)
Mutual labels:  gulp
ngx-stream-request-module
基于ngx-stream-module 实现长连接的处理,把长连接数据按照使用的协议转切分为请求(request),与后端服务器使用短连接通讯,完全兼容后端http协议。后端服务器使用推送协议可以很方便的把数据推送到客户端。
Stars: ✭ 15 (+7.14%)
Mutual labels:  stream
mark.js
mark.js用于标记选中的文字,自定义插入标签
Stars: ✭ 27 (+92.86%)
Mutual labels:  gulp
rtsp-video-recorder
Provides an API to record RTSP video stream to filesystem.
Stars: ✭ 21 (+50%)
Mutual labels:  stream
html5-game-development-gulp-workflow
🎮 A gulp workflow that is optimised for HTML5 Game Developement.
Stars: ✭ 13 (-7.14%)
Mutual labels:  gulp
NPAudioStream
Continuously stream a playlist of audio through a lightweight Objective-C library.
Stars: ✭ 23 (+64.29%)
Mutual labels:  stream
plugin.video.sendtokodi
📺 plays various stream sites on kodi using youtube-dl
Stars: ✭ 86 (+514.29%)
Mutual labels:  stream
wordpress-uikit-timber-theme
UIKit 3 Wordpress Starter Theme
Stars: ✭ 18 (+28.57%)
Mutual labels:  gulp

lead

NPM version Downloads Build Status Coveralls Status

Sink your streams.

Usage

var { Readable, Transform } = require('streamx');
var sink = require('lead');

// Might be used as a Transform or Writeable
var maybeThrough = new Transform({
  transform(chunk, cb) {
    // processing
    cb(null, chunk);
  },
});

Readable.from(['hello', 'world'])
  // Sink it to behave like a Writeable
  .pipe(sink(maybeThrough));

API

sink(stream)

Takes a stream to sink and returns the same stream. Sets up event listeners to infer if the stream is being used as a Transform or Writeable stream and sinks it on nextTick if necessary. If the stream is being used as a Transform stream but becomes unpiped, it will be sunk. Respects pipe, on('data') and on('readable') handlers.

License

MIT

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