ANSI.Console 2.5.0

dotnet add package ANSI.Console --version 2.5.0                
NuGet\Install-Package ANSI.Console -Version 2.5.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="ANSI.Console" Version="2.5.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ANSI.Console --version 2.5.0                
#r "nuget: ANSI.Console, 2.5.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.
// Install ANSI.Console as a Cake Addin
#addin nuget:?package=ANSI.Console&version=2.5.0

// Install ANSI.Console as a Cake Tool
#tool nuget:?package=ANSI.Console&version=2.5.0                

About

ANSI Console aims to be as developer friendly and easy to use as possible. The reason this library was created is because many of the already existing libraries doesn't provide a good user interface. The main purpose of this library is to fix this, console formatting should be accessible and fun!

Features

  • Color formatting using: System.ConsoleColor, System.Drawing.Color, RGB, HEX, Named/known colors (list) and True color (24-bit format with over 16.7 million colors, Wikipedia)
  • Styles: Bold, Italic, Underlined, Overlined, Strike-through, Inverted, Faint, Opacity, Blink, Uppercase and Lowercase.
  • Hyperlinks
  • Custom inline formatting method FormatANSI.
  • Chainable formatting methods.
  • ANSI initialization for the system console (If not enabled already).
  • Builds on-top of the default Console using string extension methods.
  • Mapping methods using generators
  • Gradients with unlimited colors

NO_COLOR

No formatting will be applied for systems where console color output has explicitly been requested to be turned off using the environment variable NO_COLOR. See more information about this initiative at https://no-color.org.

This can be overwritten by setting the ANSIInitializer.Enabled = true.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on ANSI.Console:

Package Downloads
Makspll.PathfinderLib

The library behind the Pathfinder CLI with configurable discovery mechanisms.

Azyeb

Package Description

YouReplMe

A lightweight REPL library allowing you to build sentences to invoke actions

NotNot.Bcl

an Extended Base Class Library (BCL) for use in DotNet6+ projects. Generally focused on performance and diagnostics.

Cyrus

(Coming soon...) A modern, minimalistic, NativeAOT-friendly framework for building command-line applications with .NET

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.5.0 6,770 8/29/2021
2.4.0 428 8/29/2021
2.3.0 382 8/28/2021
2.2.0 371 8/28/2021
2.1.0 374 8/28/2021
2.0.0 382 8/27/2021
1.0.0 404 8/27/2021