Fluens.Extensions
0.6.2
dotnet add package Fluens.Extensions --version 0.6.2
NuGet\Install-Package Fluens.Extensions -Version 0.6.2
<PackageReference Include="Fluens.Extensions" Version="0.6.2" />
<PackageVersion Include="Fluens.Extensions" Version="0.6.2" />
<PackageReference Include="Fluens.Extensions" />
paket add Fluens.Extensions --version 0.6.2
#r "nuget: Fluens.Extensions, 0.6.2"
#:package Fluens.Extensions@0.6.2
#addin nuget:?package=Fluens.Extensions&version=0.6.2
#tool nuget:?package=Fluens.Extensions&version=0.6.2
Fluens.Extensions
General-purpose utility library: string, date/time, decimal, numeric, collections, LINQ, streams, tasks, expressions, translations, chain-of-responsibility, round-robin, and tree structures. Zero dependencies.
Installation
dotnet add package Fluens.Extensions
Usage
| Category | Examples |
|---|---|
| Strings | IsNullOrEmpty(), IsNullOrWhiteSpace(), Trim(maxLength, suffix), TrimEnd(suffix), RemoveWhitespace(), ToTitleCase(), ToPlain() (remove diacritics), Sanitize() (slugify), IsNumeric(), IsInteger() |
| DateOnly | IsSunday(), IsSaturday(), Subtract(), GetFirstDayOfMonth(), GetLastDayOfMonth(), GetWeekRange() |
| DateTime | Truncate(resolution), GetFirstDayOfMonth(), GetLastDayOfMonth(), IsCurrentMonth(), GetDateNextOrCurrent(dayOfWeek), GetDatePreviousOrCurrent(dayOfWeek), GetDatePrevious(dayOfWeek), IsWeekday(), IsWeekend(), IsSaturday(), IsSunday(), RoundToNearest(), RoundDown(), RoundUp() |
| DateTimeOffset | RoundDown(), RoundUp(), RoundToNearest() |
| TimeSpan | ToTimeOnly(), ToString(format) / ToString(format, defaultValue) (nullable), ToDurationString(), ToReadableDurationString(), RoundToMinutesHalfUp(), RoundToMinutesHalfDown() |
| Numeric | TruncateToDecimals() (decimal), Truncate() (double/float), ToString() with Polish pluralization |
| Collections | IsNullOrEmpty(), IsEmpty(), TrueForAll(), TrueForAny(), Chunkify(size), AddRange(), AddSorted(), GeneratePermutations(), GetHashCodeOrderIndependent() |
| ListLinq | Find(), FindAll(), Any(), All() — span-based with external state via CollectionsMarshal.AsSpan |
| Dictionary | GetOrAdd(), TryUpdate() via CollectionsMarshal; GetOrAddWithDispose(), GetOrAddAsync() for ConcurrentDictionary |
| SystemTypes | ToDateOnly(), ToTimeOnly(), ToDateTime() — conversions between DateTime, DateTimeOffset, DateOnly, TimeOnly |
| Chain of Responsibility | IChainHandler<T>, ChainHandler<T> with SetNext() / Handle() |
| Round Robin | RoundRobinList<T> — thread-safe load balancing with Next(), Update(), Elements, HasElements, Empty() |
| Trees | ITreeStructureNode<T>, ITreeStructureNodeIdentified<T>, ITreeStructureNodeOrdered, TreeStructure<TNode>, TreeStructure<TNode, TParent> for hierarchical data |
| Other | EqualsAny(), GetFieldsOfType<T>(), ToByteArray(), NotOnCapturedContext(), SwallowException(), NotNull<T>(), Translate(), GetAttribute<T>(), ReadAsStringAsync(), GetPath(), GetPath(forAllMembers), RemoveUnary(), Predicate<T, TState> |
License
This project is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Fluens.Extensions:
| Package | Downloads |
|---|---|
|
Fluens.Web
ASP.NET Core base types for Fluens web libraries: Result-to-HTTP mapping, global exception handler, and paged responses. |
|
|
Fluens
Core builder infrastructure, options management, context and messaging abstractions, paging, background worker, and shared constants. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.6.2 | 40 | 3/2/2026 |
| 0.6.1 | 40 | 3/2/2026 |
| 0.6.0 | 69 | 3/1/2026 |
| 0.5.7 | 70 | 3/1/2026 |
| 0.5.6 | 66 | 3/1/2026 |
| 0.5.5 | 81 | 2/28/2026 |
| 0.5.4 | 86 | 2/28/2026 |
| 0.5.3 | 90 | 2/27/2026 |
| 0.5.2 | 90 | 2/27/2026 |
| 0.5.1 | 91 | 2/27/2026 |
| 0.5.0 | 98 | 2/26/2026 |
| 0.3.2 | 99 | 2/26/2026 |
| 0.3.1 | 91 | 2/26/2026 |
| 0.3.0 | 100 | 2/24/2026 |
| 0.2.5 | 101 | 2/24/2026 |
| 0.2.4 | 98 | 2/24/2026 |
| 0.2.3 | 95 | 2/24/2026 |
| 0.1.0 | 104 | 2/23/2026 |