Typed-xlsx
Craft complex Excel reports with ease in a type-safe manner. Get Started
FreeCodeOpen Source263 impressions#236 of its week
typed-xlsx generates Excel reports from TypeScript with a type-safe schema and formula DSL.
- for
- TypeScript developers building complex Excel exports.
- pricing
- open source
- license
- MIT
- typed-xlsx@4.2.124 days ago
- typed-xlsx@4.2.0a month ago
- typed-xlsx@4.1.1a month ago
Key features
- Type-safe schema — Define columns, accessors and styles that are validated at compile time.
- Formula DSL — Write formulas using column IDs; compile-time errors catch broken references.
- Streaming pipeline — Commit rows in batches to handle large datasets without high memory usage.
- Zero dependencies — Ships its own OOXML serializer and ZIP engine, no external Excel libraries required.
- Renderer columns — Create badges, checkboxes, hyperlinks, sparklines and media directly from typed values.
- Dynamic column groups — Generate columns from runtime data with full type inference.
Use cases
- Generate invoice or financial reports with calculated subtotals and totals.
- Export large datasets to XLSX without exhausting memory.
- Create styled dashboards with badges and conditional formatting.
- Produce Excel tables that can be consumed by downstream BI tools.
Typed-xlsx vs alternatives
Fluent CI | Automock | Frameright | |||
|---|---|---|---|---|---|
| Best for | Type-safe Excel report generation | CSV & Excel import UI | Animated static sites | TypeScript unit testing | Image processing |
| Pricing | Open source | Subscription | Free | Free | Free |
| DevHunt upvotes | 0 | 77 | 158 | 148 | 78 |
| Launched | Jan 2024 | Apr 2024 | Jan 2024 | Jan 2023 | Jan 2023 |
- Typed-xlsx vs Impler: Provides ready-made CSV/Excel import widgets rather than generation, focusing on data ingestion.
- Typed-xlsx vs Fluent CI: Generates static animated websites, not Excel files; unrelated functionality.
- Typed-xlsx vs Automock: Simplifies unit testing for TypeScript, not Excel reporting.
- Typed-xlsx vs Frameright: Handles image processing, not spreadsheet generation.
Typed-xlsx FAQ
How does typed-xlsx ensure formulas stay correct when columns move?+
Formulas reference column IDs, not cell addresses, so rearranging columns never breaks them and compile-time checks catch errors.
Can I stream data to an XLSX file?+
Yes, the library provides a streaming API that commits rows in batches, keeping heap usage flat for very large datasets.
Do I need any external Excel libraries?+
No, typed-xlsx includes its own OOXML serializer and ZIP engine, resulting in zero transitive dependencies.
Is the library usable in the browser?+
Output targets include File, Buffer, Node stream and Web stream, allowing use in both Node and browser environments.
What licensing does typed-xlsx use?+
It is released under the MIT license.
Summarized by DevHunt from typed-xlsx.vercel.app · Sep 29, 2026. Details may change; check the official site.
Fluent CI
Automock
Frameright


.png?width=64)







