Launched January 2, 2024
Typed-xlsx

Typed-xlsx

Craft complex Excel reports with ease in a type-safe manner. Get Started

FreeCodeOpen Source263 impressions#236 of its week

Advanded excel reporting with typescript.

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
ChronicStone/typed-xlsx 165 5TypeScriptupdated 24 days ago
works withTypeScript

Key features

6 features of Typed-xlsx
  • 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

Typed-xlsxImplerFluent CIAutomockFrameright
Best forType-safe Excel report generationCSV & Excel import UIAnimated static sitesTypeScript unit testingImage processing
PricingOpen sourceSubscriptionFreeFreeFree
DevHunt upvotes07715814878
LaunchedJan 2024Apr 2024Jan 2024Jan 2023Jan 2023

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.