VOOZH about

URL: https://www.nuget.org/packages/ConsoleTables/

⇱ NuGet Gallery | ConsoleTables 2.7.0




👁 Image
ConsoleTables 2.7.0

dotnet add package ConsoleTables --version 2.7.0
 
 
NuGet\Install-Package ConsoleTables -Version 2.7.0
 
 
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="ConsoleTables" Version="2.7.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ConsoleTables" Version="2.7.0" />
 
Directory.Packages.props
<PackageReference Include="ConsoleTables" />
 
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 ConsoleTables --version 2.7.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ConsoleTables, 2.7.0"
 
 
#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 ConsoleTables@2.7.0
 
 
#: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=ConsoleTables&version=2.7.0
 
Install as a Cake Addin
#tool nuget:?package=ConsoleTables&version=2.7.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ConsoleTable

Have you ever just wanted to output flat structured POCO out to console? Sure you have! This class will let you print a nicely formatted table right to your console as easily as possible.

Example usage

// using ConsoleTables;
static void Main(String[] args)
{
 var table = new ConsoleTable("one", "two", "three");
 table.AddRow(1, 2, 3)
 .AddRow("this line should be longer", "yes it is", "oh");

 table.Write();
 Console.WriteLine();

 var rows = Enumerable.Repeat(new Something(), 10);

 ConsoleTable
 .From<Something>(rows)
 .Configure(o => o.NumberAlignment = Alignment.Right)
 .Write(Format.Alternative);

 Console.ReadKey();
}

Console output


FORMAT: Default:

 --------------------------------------------------
 | one | two | three |
 --------------------------------------------------
 | 1 | 2 | 3 |
 --------------------------------------------------
 | this line should be longer | yes it is | oh |
 --------------------------------------------------

 Count: 2


FORMAT: Alternative:

+----------------------------+-----------+-------+
| one | two | three |
+----------------------------+-----------+-------+
| 1 | 2 | 3 |
+----------------------------+-----------+-------+
| this line should be longer | yes it is | oh |
+----------------------------+-----------+-------+

FORMAT: Minimal:

one two three
--------------------------------------------
1 2 3
this line should be longer yes it is oh

Sample Output (Screenshot)

Adding it to your project with nuget

Package Manager

Install-Package ConsoleTables -Version 2.4.2

.NET CLI

dotnet add package ConsoleTables --version 2.4.2

PackageReference

<PackageReference Include="ConsoleTables" Version="2.4.2" />

Packet CLI

paket add ConsoleTables --version 2.4.2

Version History

Version Downloads Last updated
Version Downloads Last updated
2.4.2 18,202 4 months ago
2.4.1 42,442 7 months ago
2.4.0 19,443 12/18/2019
2.3.0 107,954 3/20/2019
2.2.4 678 3/6/2019

The MIT License (MIT)

Copyright (c) 2013 Khalid Abuhakmeh

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 netstandard2.1 is compatible. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

NuGet packages (35)

Showing the top 5 NuGet packages that depend on ConsoleTables:

Package Downloads
NBomber

Modern and flexible load testing framework for Pull and Push scenarios, designed to test any system regardless a protocol (HTTP/WebSockets/AMQP etc) or a semantic model (Pull/Push).

Extensions.Pack

A set of useful extensions to make your code smooth and nice readable.

Network

Network library supporting: TCP, UDP, RSA, events and objects. Fast and simple, with only 48bit overhead per packet. Send and receive packets with async operations. Examples at: https://www.indie-dev.at/overview-en/ Documentation at: https://www.indie-dev.at/NetworkLib/HelpFile_6.2.5.21/ Fork me: https://github.com/Toemsel/Network

Frank.Libraries.Extensions

Simply a bunch of extension methods that might help any developer

NetPro.Core

Package Description

GitHub repositories (16)

Showing the top 16 popular GitHub repositories that depend on ConsoleTables:

Repository Stars
Squidex/squidex
Headless CMS and Content Managment Hub
microsoft/PowerApps-Samples
Sample code for Power Apps, including Dataverse, model-driven apps, canvas apps, Power Apps component framework, portals, and AI Builder.
OpenSAGE/OpenSAGE
OpenSAGE is a free, open source re-implementation of SAGE, the 3D real time strategy (RTS) engine used in Command & Conquer: Generals and other RTS titles from EA Pacific. Written in C#. Not affiliated with EA.
Flangvik/TeamFiltration
TeamFiltration is a cross-platform framework for enumerating, spraying, exfiltrating, and backdooring O365 AAD accounts
bitfaster/BitFaster.Caching
High performance, thread-safe in-memory caching primitives for .NET
poppastring/dasblog-core
The original DasBlog reimagined with ASP.NET Core
specklesystems/speckle-sharp
.NET SDK, Schema and Connectors: Revit, Rhino, Grasshopper, Dynamo, ETABS, AutoCAD, Civil3D & more.
Toemsel/Network
C# Network Library
Marusyk/grok.net
.NET implementation of the grok 📝
libplctag/libplctag.NET
A .NET wrapper for libplctag.
microsoft/hidtools
Human Interface Device (HID) Tools for Windows and Devices
countincognito/Zametek.ProjectPlan
A simple, Open Source, and cross-platform desktop alternative to Microsoft Project for designing and creating project plans.
iomoath/SharpStrike
A Post exploitation tool written in C# uses either CIM or WMI to query remote systems.
Azure-Samples/document-intelligence-code-samples
Sample site for Document Intelligence code samples and associated media.
mozkomor/GrinGoldMiner
Grin open-source miner
goldshtn/etrace
Command-line tool for ETW tracing on files and real-time events
Version Downloads Last Updated
2.7.0 310,791 6/11/2025
2.6.2 2,313,736 9/25/2024
2.6.1 671,620 10/27/2023
2.6.0 1,746 10/27/2023
2.5.0 112,645 7/27/2023
2.4.2 6,572,930 6/25/2020
2.4.1 345,952 3/9/2020
2.4.0 100,483 12/18/2019
2.3.0 425,521 3/20/2019
2.2.4 2,580 3/6/2019
2.2.0 123,619 3/30/2018
2.2.0-alpha.0 286 7/27/2023
2.1.0 75,336 12/20/2016
2.0.0 3,283 12/20/2016
1.1.2 25,961 6/23/2016
1.1.1 2,955 6/21/2016
1.1.0 8,610 4/19/2016
1.0.0 5,394 7/10/2014

Add AppVeyor build and MinVer versioning