@soffinal/stream 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -17
- package/package.json +1 -1
- package/CHANGELOG.md +0 -22
package/README.md
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
6
|
[](https://bundlephobia.com/package/@soffinal/stream)
|
|
7
7
|
|
|
8
|
-
> **
|
|
8
|
+
> **Enhanced event emitters with functional composition**
|
|
9
9
|
|
|
10
|
-
A
|
|
10
|
+
A modern event emitter that's multicast, awaitable, async iterable, async generable, and pipeable. Like EventEmitter but with functional transformations, perfect TypeScript inference, and copy-paste transformers embedded in JSDoc.
|
|
11
11
|
|
|
12
12
|
## Table of Contents
|
|
13
13
|
|
|
@@ -289,7 +289,7 @@ But more importantly: **Documentation-as-Distribution is actually Education-as-D
|
|
|
289
289
|
|
|
290
290
|
#### The Educational Transparency Revolution
|
|
291
291
|
|
|
292
|
-
|
|
292
|
+
Our approach makes **every implementation pattern visible and learnable**:
|
|
293
293
|
|
|
294
294
|
```typescript
|
|
295
295
|
// 📦 All transformers are copy-pastable from IntelliSense!
|
|
@@ -351,16 +351,6 @@ const rateLimited = <T>(maxPerSecond: number) =>
|
|
|
351
351
|
|
|
352
352
|
#### Benefits Beyond Bundle Size
|
|
353
353
|
|
|
354
|
-
**Traditional Libraries (Code-as-Distribution):**
|
|
355
|
-
|
|
356
|
-
- ❌ **Black box implementations** - Minified, unreadable code
|
|
357
|
-
- ❌ **Separate documentation** - Often outdated, disconnected from code
|
|
358
|
-
- ❌ **Limited extensibility** - Users can only use what's provided
|
|
359
|
-
- ❌ **Learning barrier** - No insight into implementation patterns
|
|
360
|
-
- ❌ **Bundle bloat** - Every transformer adds runtime cost
|
|
361
|
-
|
|
362
|
-
**Documentation-as-Distribution:**
|
|
363
|
-
|
|
364
354
|
- ✅ **Zero friction** - Copy-paste ready transformers
|
|
365
355
|
- ✅ **Perfect discoverability** - IntelliSense shows all available transformers
|
|
366
356
|
- ✅ **Always up-to-date** - Examples match current API version
|
|
@@ -664,7 +654,3 @@ MIT © [Soffinal](https://github.com/soffinal)
|
|
|
664
654
|
Contact: <smari.sofiane@gmail.com>
|
|
665
655
|
|
|
666
656
|
---
|
|
667
|
-
|
|
668
|
-
<div align="center">
|
|
669
|
-
<strong>Pioneering Adaptive Reactive Programming</strong>
|
|
670
|
-
</div>
|
package/package.json
CHANGED
package/CHANGELOG.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
## [Unreleased]
|
|
9
|
-
|
|
10
|
-
## [0.2.0] - 2024-12-19
|
|
11
|
-
|
|
12
|
-
### Changed
|
|
13
|
-
|
|
14
|
-
- **BREAKING**: Removed instance methods for transformers from Stream class - use `.pipe()` exclusively
|
|
15
|
-
- **BREAKING**: filte and map transformers signatures now require state-based accumulators instead of simple sync/async predicates
|
|
16
|
-
- Improved internal transformer implementation
|
|
17
|
-
|
|
18
|
-
## [0.1.4] - 2024-12-18
|
|
19
|
-
|
|
20
|
-
[Unreleased]: https://github.com/soffinal/stream/compare/v0.1.4...HEAD
|
|
21
|
-
[0.2.0]: https://github.com/soffinal/stream/compare/v0.1.4...v0.2.0
|
|
22
|
-
[0.1.4]: https://github.com/soffinal/stream/releases/tag/v0.1.4
|