Stream.js
A tiny stand-alone Javascript library for streams
Install / Use
/learn @dionyziz/Stream.jsREADME
stream.js

stream.js is a tiny Javascript library that unlocks a new data structure for you: streams.
Go to https://dionyziz.github.io/stream.js-website/ to read all about what streams are and how they can make your code better and your soul happier.
Installation
In nodejs:
npm install https://github.com/dionyziz/stream.js.git
In bower:
bower install stream.js
As per bower.json specification, we have defined the source file for stream.js and not a minified version. You can get a minified version from jsDelivr.
Usage
In nodejs:
var Stream = require('stream.js');
var s1 = Stream.make(1,2,3);
var s2 = new Stream();
s2.append(1).append(2).append(3);
In the browser:
<script src="stream.js"></script>
<script>
var s1 = Stream.make(1,2,3);
var s2 = new Stream();
s2.append(1).append(2).append(3);
</script>
or with AMD:
define(function(require) {
var Stream = require("stream.js");
Stream.make(1,2,3).print();
});
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
