EchoSpec 1.0.1-beta.6

This is a prerelease version of EchoSpec.
There is a newer version of this package available.
See the version list below for details.
dotnet add package EchoSpec --version 1.0.1-beta.6
                    
NuGet\Install-Package EchoSpec -Version 1.0.1-beta.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EchoSpec" Version="1.0.1-beta.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EchoSpec" Version="1.0.1-beta.6" />
                    
Directory.Packages.props
<PackageReference Include="EchoSpec" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EchoSpec --version 1.0.1-beta.6
                    
#r "nuget: EchoSpec, 1.0.1-beta.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package EchoSpec@1.0.1-beta.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EchoSpec&version=1.0.1-beta.6&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=EchoSpec&version=1.0.1-beta.6&prerelease
                    
Install as a Cake Tool

EchoSpec

Build & Publish NuGet NuGet License: MIT .NET

A zero-dependency .NET library for turning tabular data into Console, Markdown, HTML, or custom output from a single source.

  • Fluent TableBuilder and ReportBuilder<T>
  • Built-in Console, Markdown, and HTML renderers
  • Extend via ITableRenderer / IReportRenderer

Installation

dotnet add package EchoSpec

Or add a PackageReference and set Version to the current release on NuGet.

Quick example

using EchoSpec;
using EchoSpec.Builders;

var table = new TableBuilder()
    .AddHeader("Name")
    .AddHeader("Score", ColumnAlignment.Right)
    .AddRow("Alice", "95")
    .AddRow("Bob", "87");

Console.WriteLine(table.Build(ReportFormat.Console));
File.WriteAllText("results.md", table.Build(ReportFormat.Markdown));
Name   Score
─────────────
Alice     95
Bob       87

Reports over typed data:

var builder = new ReportBuilder<TestResult>()
    .WithTitle("Test Results")
    .AddTable((table, data) =>
    {
        table.AddHeader("Test")
             .AddHeader("Status", ColumnAlignment.Center);
        foreach (var row in data)
            table.AddRow(row.Name, row.Passed ? "✓" : "✗");
        return table;
    });

var output = builder.Generate(results, ReportFormat.Both);
output.WriteToConsole();
output.SaveMarkdown("results.md");

// Full HTML document (table BuildWith returns a <table> fragment only)
File.WriteAllText(
    "results.html",
    (string)builder.GenerateWith(results, new HtmlRenderer()));

Gotchas

Topic Detail
ReportFormat / ReportOutput Console and Markdown only — not HTML
Table HTML BuildWith(new HtmlRenderer()) → <table> fragment
Report HTML GenerateWith(..., new HtmlRenderer()) → full document
BuildWith / GenerateWith One renderer → string; two or more → Dictionary<string, string> keyed by Name (cast required)

Docs

License

MIT — see LICENSE.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 116 10/28/2026
1.0.2-beta.10 72 10/29/2026
1.0.2-beta.8 62 10/28/2026
1.0.1 388 11/11/2025
1.0.1-beta.7 67 10/28/2026
1.0.1-beta.6 73 10/24/2026
1.0.1-beta.4 303 11/11/2025
1.0.0 351 11/11/2025
1.0.0-beta.3 298 11/11/2025
1.0.0-beta.1 299 11/11/2025

Initial release with extensible renderer architecture. Includes built-in Console, Markdown, and HTML renderers with support for custom formats.