Nomus: A .NET Package for Converting Between String Naming Conventions

Developers working across APIs, databases, and frontends often face inconsistent naming styles such as camelCase, snake_case, PascalCase, and kebab-case. The article introduces Nomus, a NuGet package for .NET 8.0 and later that detects and converts text between these formats through a simple API. It explains installation via Visual Studio or the dotnet CLI, along with quick usage examples for each conversion method. The author demonstrates transforming a DTO's property names into camelCase, building a reusable extension helper, and generating kebab-case URL slugs. The package is presented as a way to reduce repetitive code and manual conversion errors while keeping naming consistent across a project.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in