![]() |
VOOZH | about |
dotnet add package FreakyKit.Utils --version 1.0.1
NuGet\Install-Package FreakyKit.Utils -Version 1.0.1
<PackageReference Include="FreakyKit.Utils" Version="1.0.1" />
<PackageVersion Include="FreakyKit.Utils" Version="1.0.1" />Directory.Packages.props
<PackageReference Include="FreakyKit.Utils" />Project file
paket add FreakyKit.Utils --version 1.0.1
#r "nuget: FreakyKit.Utils, 1.0.1"
#:package FreakyKit.Utils@1.0.1
#addin nuget:?package=FreakyKit.Utils&version=1.0.1Install as a Cake Addin
#tool nuget:?package=FreakyKit.Utils&version=1.0.1Install as a Cake Tool
A robust and lightweight collection of C# extension methods designed to simplify common programming patterns and utility operations in .NET projects. This library includes extensions for arrays, collections, commands, dates, enumerables, exceptions, lists, numbers, objects, dependency injection, streams, strings, and tasks.
ICommand pattern execution.WithIndex, DistinctBy, safe list methods, shuffling, and more.Add the compiled DLL to your project, or copy the relevant extension files into your solution.
dotnet add package FreakyKit.Utils
Add a using directive to the FreakyKit.Utils namespace:
using FreakyKit.Utils;
// Array: Traverse a 2D array
matrix.ForEach((array, position) => Console.WriteLine(array.GetValue(position)));
// List: Remove items matching a predicate
myList.RemoveAll(x => x.IsObsolete);
// String: Validate email
bool isValid = "test@example.com".IsValidEmail();
// Enumerable: Enumerate with index
foreach (var (item, idx) in items.WithIndex()) { ... }
// Number: Check range
bool inRange = age.IsBetween(18, 65);
// DateTime: Find next workday
DateTime nextWorkday = today.NextWorkday();
// Task: Await with timeout
await task.TimeoutAfter(TimeSpan.FromSeconds(10));
For full API details, see the XML comments in each extension method.
FreakyKit.Utils namespace.I am also planning to either add the documentation here or to the wiki soon.
Contributions are welcome! Please submit issues and PRs for bug reports, new utilities, or improvements. All code must follow C# standard naming conventions and include XML documentation.
This project is released under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. 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. |
Showing the top 4 NuGet packages that depend on FreakyKit.Utils:
| Package | Downloads |
|---|---|
|
Plugin.Maui.Biometric
A Biometric plug-in for .NET MAUI |
|
|
FreakyEffects
FreakyEffects is a effects kit for .NET MAUI which provides a set of effects and utilities to build modern mobile apps. |
|
|
FreakyControls
Maui.FreakyControls is a free OSS UI Kit for .NET MAUI which provides a set of controls and utilities to build modern mobile apps. |
|
|
FreakyUXKit
FreakyUXKit is a modern UX library for .NET MAUI. It helps developers create intuitive tutorials, tooltips, and walkthroughs with ease. |
Showing the top 3 popular GitHub repositories that depend on FreakyKit.Utils:
| Repository | Stars |
|---|---|
|
FreakyAli/Maui.FreakyControls
FreakyControls is a free OSS UI Kit for .NET MAUI which provides a set of controls and utilities to build modern mobile apps.
|
|
|
FreakyAli/Plugin.Maui.Biometric
A biometric plugin for .NET MAUI
|
|
|
FreakyAli/Maui.FreakyEffects
FreakyEffects is an effects kit for .NET MAUI which provides a set of effects and utilities to build modern mobile apps.
|
A utility project with extensions and other helper methods