You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`new PassThrough()`| ✅ | Transform that passes data unchanged |
383
+
|**Process Streams**|||
359
384
|`process.stdout.write()`| ✅ | Basic only |
360
385
|`process.stderr.write()`| ✅ | Basic only |
361
386
|`process.stdin` events | ❌ | No event-based input |
387
+
|**Not Implemented**|||
388
+
| Flowing mode | ❌ | Sync push/pull only |
389
+
| Object mode | ❌ | Buffer/string chunks only |
390
+
| Backpressure | ❌ | No highWaterMark handling |
362
391
363
392
---
364
393
@@ -530,12 +559,12 @@ This document tracks Node.js module and API implementation status in SharpTS.
530
559
531
560
## Summary
532
561
533
-
SharpTS provides comprehensive support for file system operations (sync), including file descriptor APIs, directory utilities, hard/symbolic links, and permissions. Also includes path manipulation, OS information, process management, crypto (hashing, encryption, key derivation, signing), URL parsing, binary data handling via Buffer, EventEmitter for event-driven patterns, timers (setTimeout/setInterval/setImmediate), string decoding for multi-byte characters, and high-resolution performance timing. The module system supports both ES modules and CommonJS import syntax.
562
+
SharpTS provides comprehensive support for file system operations (sync), including file descriptor APIs, directory utilities, hard/symbolic links, and permissions. Also includes path manipulation, OS information, process management, crypto (hashing, encryption, key derivation, signing), URL parsing, binary data handling via Buffer, EventEmitter for event-driven patterns, timers (setTimeout/setInterval/setImmediate), string decoding for multi-byte characters, high-resolution performance timing, and stream classes (Readable, Writable, Duplex, Transform, PassThrough) with sync push/pull mode and pipe support. The module system supports both ES modules and CommonJS import syntax.
534
563
535
564
**Key Gaps:**
536
-
- No Stream classes (limits file/network streaming)
537
565
- No async fs operations (sync-only workaround)
538
566
- No network modules (http, net, dns)
567
+
- No flowing/async stream mode (sync push/pull only)
539
568
540
569
**Recommended Workarounds:**
541
570
- Use `*Sync` versions of fs methods
@@ -548,5 +577,5 @@ SharpTS provides comprehensive support for file system operations (sync), includ
548
577
Priority features to implement for broader Node.js compatibility:
549
578
550
579
1.**Async fs APIs** - `fs.promises` or callback-based (higher effort)
551
-
2.**Streams API** - Needed for large file handling (higher effort)
0 commit comments