+5
-2
README.md
+5
-2
README.md
···
1
1
# plcbundle-bun
2
2
3
-
⚡ **Zero-dependency** [plcbundle](https://tangled.org/@atscan.net/plcbundle/blob/main/docs/specification.md) library built exclusively for **[Bun](https://bun.sh)**.
3
+
⚡ **Zero-dependency** [plcbundle](https://tangled.org/@atscan.net/plcbundle/blob/main/docs/specification.md) library written in **TypeScript** for **[Bun](https://bun.sh)**.
4
4
5
5
No external dependencies - just pure Bun runtime leveraging native features:
6
6
- 🗜️ Native `Bun.zstdDecompressSync()` - zero-copy decompression
···
8
8
- 🚀 Native `Bun.file()` - optimized file I/O
9
9
- 🧵 Native `Worker` threads - parallel processing
10
10
- 📦 Native `Bun.resolveSync()` - module resolution
11
+
- 📘 Fully typed TypeScript - complete type safety
11
12
12
13
> **Note:** This is a Bun-native library. It does **not** work with Node.js.
13
14
···
125
126
This library uses Bun's native APIs for:
126
127
127
128
- **Zero dependencies** - Only requires Bun runtime, nothing else
129
+
- **Full TypeScript** - Complete type safety and IDE autocomplete
128
130
- **Native zstd decompression** - Built-in `zstdDecompressSync()`
129
131
- **Optimized file I/O** - `Bun.file()` with zero-copy operations
130
132
- **Fast crypto** - Native `CryptoHasher` for SHA-256
131
-
- **Instant startup** - No build step required
133
+
- **Instant startup** - No build step required, Bun runs TypeScript directly
132
134
- **Efficient parallelism** - Lightweight Workers
133
135
134
136
## Features
135
137
136
138
- 📦 **Zero dependencies** - pure Bun runtime only
139
+
- 📘 **TypeScript** - fully typed with complete type safety
137
140
- ⚡ **Bun-native** - leverages all native APIs
138
141
- 🔄 **Multi-threaded** - parallel downloads and processing
139
142
- 💾 **Auto-save progress** - every 5 seconds, no data loss