TheNerdCollective.Helpers
0.1.4
dotnet add package TheNerdCollective.Helpers --version 0.1.4
NuGet\Install-Package TheNerdCollective.Helpers -Version 0.1.4
<PackageReference Include="TheNerdCollective.Helpers" Version="0.1.4" />
<PackageVersion Include="TheNerdCollective.Helpers" Version="0.1.4" />
<PackageReference Include="TheNerdCollective.Helpers" />
paket add TheNerdCollective.Helpers --version 0.1.4
#r "nuget: TheNerdCollective.Helpers, 0.1.4"
#:package TheNerdCollective.Helpers@0.1.4
#addin nuget:?package=TheNerdCollective.Helpers&version=0.1.4
#tool nuget:?package=TheNerdCollective.Helpers&version=0.1.4
TheNerdCollective.Helpers
A utility library providing essential helper methods for common operations in .NET applications, including file I/O, date/time handling, stream conversions, and CSV processing.
Overview
This package contains reusable utility classes designed to simplify common programming tasks across your applications. It's designed to be lightweight, dependency-minimal, and performant.
Quick Start
Installation
dotnet add package TheNerdCollective.Helpers
Usage
File Operations
using TheNerdCollective.Helpers;
// File I/O helpers
var fileContent = FileHelpers.ReadAllText("path/to/file.txt");
FileHelpers.WriteAllText("output.txt", content);
Date/Time Operations
using TheNerdCollective.Helpers;
var formattedDate = DateHelpers.Format(DateTime.Now, "yyyy-MM-dd");
Stream & Byte Conversions
using TheNerdCollective.Helpers;
var byteArray = StreamByteHelpers.StreamToByteArray(stream);
var stream = StreamByteHelpers.ByteArrayToStream(bytes);
CSV Processing
using TheNerdCollective.Helpers;
var records = CsvHelpers.ReadFromFile<MyRecord>("data.csv");
CsvHelpers.WriteToFile("output.csv", records);
Included Helpers
- FileHelpers - File I/O operations (read, write, delete)
- DateHelpers - Date and time formatting and manipulation
- StreamByteHelpers - Conversions between streams and byte arrays
- CsvHelpers - CSV file reading and writing with strongly-typed records
- StringExtensions - String manipulation extension methods
- MimeTypeExtensions - MIME type detection and handling
- ListToStringJoinConverter - JSON converter for list-to-string serialization
Dependencies
- CsvHelper 33.0.1
- Newtonsoft.Json 13.0.3
- .NET 10.0+
License
Apache License 2.0 - See LICENSE file for details
Repository
TheNerdCollective.Components on GitHub
Built with ❤️ by The Nerd Collective Aps
By Jan Hjørdie - LinkedIn | Dev.to
| 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
- CsvHelper (>= 33.1.0)
- Newtonsoft.Json (>= 13.0.4)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TheNerdCollective.Helpers:
| Package | Downloads |
|---|---|
|
TheNerdCollective.Services
Base services library for The Nerd Collective component ecosystem. Provides foundational service abstractions and utilities. |
GitHub repositories
This package is not used by any popular GitHub repositories.