Fesher 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Fesher --version 0.2.0                
NuGet\Install-Package Fesher -Version 0.2.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="Fesher" Version="0.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fesher --version 0.2.0                
#r "nuget: Fesher, 0.2.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 Fesher as a Cake Addin
#addin nuget:?package=Fesher&version=0.2.0

// Install Fesher as a Cake Tool
#tool nuget:?package=Fesher&version=0.2.0                

Logo

Fesher

Fesher on fuget.org code size license

Fesher is a library for colorful console output in the F# scripting editor Fesh

It has two modules Printfn and Printf providing functions named by a color. Those functions work just like the printfn and printf. They will detect via reflection if they are running inside Fesh and print in the respective colors. If used outside of Fesh it will just fall back to printfn and printf.

The module Fesher.AllColors provides all 280 named WPF colors as functions.

Usage

open Fesher // for the 18 most common colors
//open Fesher.AllColors // for all 280 named WPF colors

Printfn.red "The red answer is %s!" 42

Screenshot

See full API documentation on fuget.org

License

MIT

Changelog

0.2.0

  • added Printfn.randomColor

0.1.0

  • ported from FsEx
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.4.0 113 11/10/2024
0.3.0 95 10/29/2024
0.2.0 119 10/13/2024
0.1.0 105 9/23/2024
0.0.3 85 11/10/2024
0.0.2 89 11/10/2024
0.0.1 100 9/20/2024

- add Printfn.randomColor