Uwuify.Humanizer
1.2.5
dotnet add package Uwuify.Humanizer --version 1.2.5
NuGet\Install-Package Uwuify.Humanizer -Version 1.2.5
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="Uwuify.Humanizer" Version="1.2.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Uwuify.Humanizer --version 1.2.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Uwuify.Humanizer, 1.2.5"
#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 Uwuify.Humanizer as a Cake Addin #addin nuget:?package=Uwuify.Humanizer&version=1.2.5 // Install Uwuify.Humanizer as a Cake Tool #tool nuget:?package=Uwuify.Humanizer&version=1.2.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Uwuify.Humanizer
A library to format strings into the UwU variant.
The class library is made to be the main focus of this repository, with the other projects (ConsoleApp and Benchmarks) being purely supplemental.
The Console app will be released as well.
Features
- Studder at random intervals (customizable as of 1.0.2).
- Specific characters replaced with 'w' or "ny".
- Kaomojis replaces some puntuation symbols.
Status Badges
Usage
using Uwuify.Humanizer
string myString = "Hello World! This is an example usage of the cursed humanizer UwU string formatting extension. I hope you love/hate it as much as I do!".Uwuify();
// myString: "hewwo wowwd-.- t-this is an exampwe u-usage o-of the cuwsed h-humanyizew u-uwu s-stwinyg fowmattinyg extenysiony xD i h-hope you wove/hate i-it as much as i-i d-do *:・゚✧*:・゚✧"
Benchmarks (1.0.6)
- BenchmarkDotNet=v0.13.0, OS=Windows 10.0.22000
- AMD Ryzen 7 2700, 1 CPU, 16 logical and 8 physical cores
- .NET SDK=6.0.101
- [Host] : .NET 6.0.1 (6.0.121.56705), X64 RyuJIT
- DefaultJob : .NET 6.0.1 (6.0.121.56705), X64 RyuJIT
Method | Mean | Error | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|
TestDefaultShort | 4.905 us | 0.0969 us | 0.1389 us | 1.6022 | - | - | 7 KB |
TestDefaultMedium | 18.931 us | 0.1735 us | 0.1538 us | 4.9438 | - | - | 20 KB |
TestDefaultLong | 23.830 us | 0.2990 us | 0.2651 us | 6.1035 | - | - | 25 KB |
TestCustomShort | 6.172 us | 0.1147 us | 0.1073 us | 1.7853 | - | - | 7 KB |
TestCustomMedium | 21.201 us | 0.3734 us | 0.3310 us | 5.1575 | - | - | 21 KB |
TestCustomLong | 26.795 us | 0.2072 us | 0.1730 us | 6.5308 | - | - | 27 KB |
Contribution
- Angius#1586 : Thanks for the pattern matching and Span approach!
- https://github.com/senguyen1011/UwUinator : Thank you for the initial inspiration!
Product | Versions 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.