VOOZH about

URL: https://www.nuget.org/packages/soenneker.utils.case/

⇱ NuGet Gallery | Soenneker.Utils.Case 4.0.52




👁 Image
Soenneker.Utils.Case 4.0.52

Prefix Reserved
dotnet add package Soenneker.Utils.Case --version 4.0.52
 
 
NuGet\Install-Package Soenneker.Utils.Case -Version 4.0.52
 
 
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="Soenneker.Utils.Case" Version="4.0.52" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Utils.Case" Version="4.0.52" />
 
Directory.Packages.props
<PackageReference Include="Soenneker.Utils.Case" />
 
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 Soenneker.Utils.Case --version 4.0.52
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Utils.Case, 4.0.52"
 
 
#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 Soenneker.Utils.Case@4.0.52
 
 
#: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=Soenneker.Utils.Case&version=4.0.52
 
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.Case&version=4.0.52
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

👁 alternate text is missing from this package README image
👁 alternate text is missing from this package README image
👁 alternate text is missing from this package README image
👁 alternate text is missing from this package README image

👁 alternate text is missing from this package README image
Soenneker.Utils.Case

High performance case transformation utility methods

Installation

dotnet add package Soenneker.Utils.Case

Usage

using Soenneker.Utils.Case;

All conversions use a single tokenizer internally, then format into the target case.

Core methods

  • ToKebab(ReadOnlySpan<char>)
  • ToSnake(ReadOnlySpan<char>)
  • ToUpperSnake(ReadOnlySpan<char>)
  • ToDot(ReadOnlySpan<char>)
  • ToFlat(ReadOnlySpan<char>)
  • ToPath(ReadOnlySpan<char>)
  • ToSpace(ReadOnlySpan<char>)
  • ToTrain(ReadOnlySpan<char>)
  • ToPascal(ReadOnlySpan<char>)
  • ToCamel(ReadOnlySpan<char>)
  • ToTitle(ReadOnlySpan<char>, CultureInfo? culture = null)
  • ToTitle(string? value, CultureInfo? culture = null)
  • NormalizeKebab(ReadOnlySpan<char>)

Example

const string input = "HTTPServer_v2 parser";

CaseUtil.ToKebab(input); // "http-server-v2-parser"
CaseUtil.ToSnake(input); // "http_server_v2_parser"
CaseUtil.ToUpperSnake(input); // "HTTP_SERVER_V2_PARSER"
CaseUtil.ToDot(input); // "http.server.v2.parser"
CaseUtil.ToFlat(input); // "httpserverv2parser"
CaseUtil.ToPath(input); // "http/server/v2/parser"
CaseUtil.ToSpace(input); // "http server v2 parser"
CaseUtil.ToTrain(input); // "HTTP-Server-V2-Parser"
CaseUtil.ToPascal(input); // "HTTPServerV2Parser"
CaseUtil.ToCamel(input); // "httpServerV2Parser"
CaseUtil.ToTitle(input); // "HTTP Server V2 Parser"
Product Versions Compatible and additional computed target framework versions.
.NET net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows 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 (1)

Showing the top 1 NuGet packages that depend on Soenneker.Utils.Case:

Package Downloads
Soenneker.Blazor.TomSelect

A Blazor interop library for the select user control library, Tom Select

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.52 0 6/19/2026
4.0.51 231 6/17/2026
4.0.50 409 6/10/2026
4.0.49 338 6/10/2026
4.0.48 139 6/9/2026
4.0.47 545 6/6/2026
4.0.46 286 6/6/2026
4.0.45 98 6/5/2026
4.0.44 93 6/5/2026
4.0.43 955 5/13/2026
4.0.42 857 5/2/2026
4.0.41 827 4/24/2026
4.0.40 163 4/23/2026
4.0.39 129 4/23/2026
4.0.38 141 4/22/2026
4.0.37 445 4/21/2026
4.0.36 559 4/14/2026
4.0.35 1,637 3/31/2026
4.0.34 669 3/20/2026
4.0.33 124 3/19/2026
Loading failed

Update actions/checkout action to v7 (#60)