Raccoon.Ninja.Tools
1.9.0
dotnet add package Raccoon.Ninja.Tools --version 1.9.0
NuGet\Install-Package Raccoon.Ninja.Tools -Version 1.9.0
<PackageReference Include="Raccoon.Ninja.Tools" Version="1.9.0" />
<PackageVersion Include="Raccoon.Ninja.Tools" Version="1.9.0" />
<PackageReference Include="Raccoon.Ninja.Tools" />
paket add Raccoon.Ninja.Tools --version 1.9.0
#r "nuget: Raccoon.Ninja.Tools, 1.9.0"
#addin nuget:?package=Raccoon.Ninja.Tools&version=1.9.0
#tool nuget:?package=Raccoon.Ninja.Tools&version=1.9.0
Racoon Ninja Tools
Description
This is a collection of helpers and tools I find useful enough to reuse in multiple projects. I hope this can help other people too. 😃
The idea of the package is to be lightweight and without external dependencies as much as possible. Right now, the project is fully standalone.
Installation
You can install the package via NuGet using the following command:
dotnet add package Raccoon.Ninja.Tools
Changelog
Check the changelog for the latest updates.
Features
- Deterministic GUID generation;
- List extensions with useful methods like
ForEachWithIndex
,RemoveDuplicates
,PopFirst
,IndexOfMax
, etc.; - String extensions with methods like
Minify
,StripAccents
,OnlyDigits
, etc.; - DateTime extensions with methods like
DaysSince
, etc.; - Operation Result class to handle operations with success and error states with a functional approach;
TODO
- Move common tests to the
ErrorPresets
class;
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.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.
## [1.9.0] - Apr, 2025
- Changed the methods `Process` and `ProcessAsync` to `Match` and `MatchAsync` to adhere to the functional programming
paradigm. The `Process` and `ProcessAsync` methods are still available, but they are marked as
obsolete and will be removed in the future;
- Added `IsSuccess`, `IsFailure`, `Error`, and `Value` properties to the `Result<T>` class to make it easier to
use in OOP applications, while keeping the performance benefits of not throwing exceptions all around.