MyNet.Text 19.5.2

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

<div align="center">

MyNet.Text

<img src="MyNetText.png" alt="MyNet.Text" width="96" height="96" />

String processing: templating, slugification, sanitization, normalization, truncation, redaction, and formatting pipelines.

</div>

<div align="center">

MIT License NuGet .NET

</div>


Features

Feature Description
Templates Token-based templates with culture-aware formatting
Transforms Slugify, sanitize, normalize, truncate, and redact
Pipelines Composable text transformation pipelines
DI extensions Random generator registration for tests

Installation

dotnet add package MyNet.Text

Quick start

using System.Globalization;
using MyNet.Text.Extensions;

var slug = "Hello World!".Slugify();
using System.Globalization;
using MyNet.Text.Templating;

var options = new TextTemplateOptionsBuilder()
    .WithArgument("Name", "Ada")
    .Build();

var text = new TemplateTransform(options).Apply("Hello, {Name}!", CultureInfo.InvariantCulture);


Documentation


<div align="center">

<sub>

Copyright © 2016-2026 - Stéphane ANDRE. All Rights Reserved.

<br/>

Released under the MIT License.

</sub>

</div>

Product Compatible and additional computed target framework versions.
.NET 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 (5)

Showing the top 5 NuGet packages that depend on MyNet.Text:

Package Downloads
MyNet.Observable

MVVM-oriented observable models with INotifyPropertyChanged, edition tracking, FluentValidation integration, metadata, and an included Roslyn source generator.

MyNet.Humanizer

Localized human-readable text for dates, enums, lists, geography, and common .NET types (display strings beyond raw ToString()).

MyNet.Http

HTTP client helpers and Web API consumption utilities: request building, response handling, and typed REST patterns for .NET.

MyNet.Fakers

Locale-aware fake data generators for names, addresses, emails, URLs, and related test fixtures built on MyNet.Generator and MyNet.Geography.

MyNet.Globalization

Culture-aware formatting, translatable resources, and localization services with Microsoft.Extensions.DependencyInjection integration.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
19.6.0 62 6/6/2026
19.5.2 70 6/5/2026
19.5.1 64 6/5/2026
19.5.0 61 6/5/2026
19.3.6 93 6/3/2026
19.3.5 87 6/3/2026
19.3.4 92 6/3/2026
19.3.3 87 6/2/2026
19.3.2 88 6/2/2026
19.3.1 85 6/2/2026
19.3.0 113 6/1/2026
19.2.1 102 5/31/2026
19.2.0 103 5/31/2026
19.1.0 96 5/31/2026
19.0.0 105 5/29/2026