Humanizer is alive and well and it's v2!
Two and a half years I highlighted a project that I thought was extremely cool and one that I've since used in a number of projects. This week I saw a post from Oren Novotny that let us know that not only is the project alive and well, but has had a major upgrade and release! Woot!
Congrats and thanks to the team;
- Mehdi Khalili (@MehdiKhalili)
- Oren Novotny (@onovotny)
- Alexander I. Zaytsev (@hazzik)
- Max Malook (@mexx)
Earlier today we finalized and published the next major release of Humanizer. This version includes many fixes and new features, many of them coming directly from the community. A huge thank you to all those who have contributed!
I wanted to call out a few things though:
- The Humanizer package now supports selecting locales to install. This was done by using a little-known feature of NuGet called satellite packages. The main Humanizer package is now a meta-package that pulls in all language packages plus the core library; this is the existing behavior of Humanizer today.
- To install English only, you may elect to install
- To install specific a language or set of languages, you can specify
<locale>represents a supported language package.
- There is currently a known issue with DNX with satellite packages. It might affect CLI too; track that one here.
- For best results, using
project.json/NuGet v3 is highly recommended over
packages.config/NuGet v2. The key difference is that all of the child packages are transitively included instead of directly referenced in your
project.jsonis supported in any project type, not just .NET Core or UWP projects.
Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities.
Table of contents
- Humanize String
- Dehumanize String
- Transform String
- Truncate String
- Format String
- Humanize Enums
- Dehumanize Enums
- Humanize DateTime
- Humanize TimeSpan
- Humanize Collections
- Inflector methods
- Fluent date
- Number to words
- Number to ordinal words
- Roman numerals
- Metric numerals
- Mix this into your framework to simplify your life -
- How to contribute?
- Continuous Integration from AppVeyor
- Related Projects
- Main contributors
There are so many features that you should just check out the site. I'm betting that you'll find a number of features that you'll love.