MyNet.Humanizer 5.0.21

dotnet add package MyNet.Humanizer --version 5.0.21
                    
NuGet\Install-Package MyNet.Humanizer -Version 5.0.21
                    
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="MyNet.Humanizer" Version="5.0.21" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MyNet.Humanizer" Version="5.0.21" />
                    
Directory.Packages.props
<PackageReference Include="MyNet.Humanizer" />
                    
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 MyNet.Humanizer --version 5.0.21
                    
#r "nuget: MyNet.Humanizer, 5.0.21"
                    
#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 MyNet.Humanizer@5.0.21
                    
#: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=MyNet.Humanizer&version=5.0.21
                    
Install as a Cake Addin
#tool nuget:?package=MyNet.Humanizer&version=5.0.21
                    
Install as a Cake Tool

<div id="top"></div>

<br /> <div align="center"> <img src="../../assets/MyNetHumanizer.png" width="128" alt="MyNetHumanizer"> </div>

<h1 align="center">My .NET Humanizer</h1>

MIT License NuGet

A versatile library for converting objects and values into human-readable strings in .NET applications.

.NET 8.0 .NET 9.0 .NET 10.0 C#


Installation

Install via NuGet:

dotnet add package MyNet.Humanizer

Features

  • Object to String Conversion: Convert objects of various types into readable string representations.
  • Customizable Formatting: Customize the format and structure of generated strings.
  • Localization Support: Generate localized strings for multi-language applications.

Example Usage

using MyNet.Humanizer;

// Humanize a number
var readable = NumberHumanizeExtensions.Humanize(12345);

// Humanize a date
var date = DateTimeHumanizeExtensions.Humanize(DateTime.Now);

// Humanize an enum
var text = EnumHumanizeExtensions.Humanize(MyEnum.Value);

License

Copyright © Stéphane ANDRE.

Distributed under the MIT License. See LICENSE for details.

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 is compatible.  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.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on MyNet.Humanizer:

Package Downloads
MyNet.Observable.Translatables

This library is a versatile and lightweight class library designed to simplify the representation of translatable objects in .NET applications.

MyNet.CsvHelper.Extensions

A comprehensive .NET class library that extends the capabilities of CsvHelper, a popular CSV parsing and writing library for .NET applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.21 0 9/7/2025
5.0.0 163 5/26/2025
4.0.0 242 3/30/2025
3.0.0 208 12/21/2024
2.0.0 383 9/2/2024
2.0.0-pre 129 8/30/2024
1.0.0 788 4/25/2024