Uwuify.Humanizer
1.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Uwuify.Humanizer --version 1.0.2
NuGet\Install-Package Uwuify.Humanizer -Version 1.0.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="Uwuify.Humanizer" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Uwuify.Humanizer --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Uwuify.Humanizer, 1.0.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.
// Install Uwuify.Humanizer as a Cake Addin #addin nuget:?package=Uwuify.Humanizer&version=1.0.2 // Install Uwuify.Humanizer as a Cake Tool #tool nuget:?package=Uwuify.Humanizer&version=1.0.2
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.2)
- BenchmarkDotNet=v0.13.0, OS=Windows 10
- AMD, 1 CPU, 16 logical and 8 physical cores
- .NET SDK=5.0.100
- [Host] : .NET 5.0.8 (5.0.821.31504), X64 RyuJIT
- DefaultJob : .NET 5.0.8 (5.0.821.31504), X64 RyuJIT
Method | Mean | Error | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|
TestDefaultShort | 6.265 us | 0.0892 us | 0.0791 us | 1.6937 | - | - | 7 KB |
TestDefaultMedium | 22.431 us | 0.2268 us | 0.2011 us | 5.0659 | - | - | 21 KB |
TestDefaultLong | 29.403 us | 0.4430 us | 0.3927 us | 6.4087 | - | - | 26 KB |
TestCustomShort | 10.067 us | 0.1991 us | 0.2213 us | 2.1973 | - | - | 9 KB |
TestCustomMedium | 29.079 us | 0.5545 us | 0.5187 us | 5.9509 | - | - | 24 KB |
TestCustomLong | 37.586 us | 0.6099 us | 0.5093 us | 7.9346 | - | - | 33 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 | 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. net9.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.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.