CsvCore 6.2.0

dotnet add package CsvCore --version 6.2.0
                    
NuGet\Install-Package CsvCore -Version 6.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CsvCore" Version="6.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CsvCore" Version="6.2.0" />
                    
Directory.Packages.props
<PackageReference Include="CsvCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CsvCore --version 6.2.0
                    
#r "nuget: CsvCore, 6.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CsvCore@6.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CsvCore&version=6.2.0
                    
Install as a Cake Addin
#tool nuget:?package=CsvCore&version=6.2.0
                    
Install as a Cake Tool

<h1 align="center"> <br> <img src="logo.JPG" alt="CsvCore" width="300"> <br> </h1>

<h4 align="center">The only package you'll need to handle CSV files</h4>

<div align="center">

alternate text is missing from this package README image Coveralls branch alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image GitHub Repo stars GitHub contributors GitHub last commit GitHub commit activity open issues PRs Welcome alternate text is missing from this package README image Static Badge

<a href="#about">About</a> • <a href="#how-to-use-it">How To Use</a> • <a href="#download">Download</a> • <a href="#contributors">Contributors</a> • <a href="#versioning">Versioning</a> • <a href="#credits">Credits</a> • <a href="#related">Related</a> • <a href="#license">License</a>

</div>

About

What's this?

The CsvCore library is a .NET library that provides a simple and efficient way to read, write and validate CSV files. It is designed to be easy to use, flexible, and blazing fast, making it an ideal choice for developers who need to work with CSV data in their applications.

What's so special about that?

No hassle, no fuss, no complexity but straight out of the box a working, CsvCoreReader and CsvCoreWriter.

Who created this?

My name is Tino Klijn, and I'm a tech lead in the .NET environment.

Since I have worked in development I encountered many libraries that support CSV handling, but none of them matched my expectations.

I strongly believe that a library should be easy to understand and to use, otherwise what is the point of creating a package for your fellow devs.

So I decided to create my own library that is simple, easy to use and flexible.

Suggestions for improvements are always welcome. Please contact me to tell me your needs in the package or simply create an issue or pull request on GitHub.

How do I use it?

Easy, add the package to you project using the following command: dotnet add package csvcore or by using the NuGet package manager in your IDE. Then register one of the services or both in your IoC container.

builder.Services.AddScoped<ICsvCoreReader, CsvCoreReader>();
builder.Services.AddScoped<ICsvCoreWriter, CsvCoreWriter>();

Next read all about it in the wiki:

Wiki

Download

This library is available as a NuGet package on https://nuget.org. To install it, use the following command-line:

dotnet add package csvcore

Building

To build this repository locally, you need the following:

  • The .NET SDKs for .NET 8.0 and 9.0.
  • Visual Studio, JetBrains Rider or Visual Studio Code with the C# DevKit

You can also build, run the unit tests and package the code using the following command-line:

build.ps1

Or, if you have, the Nuke tool installed:

nuke

Also try using --help to see all the available options or --plan to see what the scripts does.

Contributing

Your contributions are always welcome! Please have a look at the contribution guidelines first.

Previous contributors include:

<a href="https://github.com/DotNet2Web/csvcore/graphs/contributors"> <img src="https://contrib.rocks/image?repo=DotNet2Web/csvcore" alt="contrib.rocks image" /> </a>

(Made with contrib.rocks)

Versioning

This library uses Semantic Versioning to give meaning to the version numbers. For the versions available, see the tags on this repository.

Credits

This library wouldn't have been possible without the following tools, packages and companies:

Special thanks

Support the project

You may also like

License

This project is licensed under the MIT License - see the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 is compatible.  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.  net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.2.0 130 5/29/2025
6.1.0 95 5/23/2025
6.0.0 208 5/15/2025
5.0.0 211 5/13/2025
4.4.1 138 5/8/2025
4.4.0 131 5/7/2025
4.3.0 126 5/5/2025
4.2.1 130 4/29/2025
4.2.0 149 4/28/2025
4.1.0 145 4/24/2025
4.0.0 137 4/23/2025
3.1.0 141 4/20/2025
3.0.0 79 4/19/2025
2.1.0 69 4/19/2025
2.0.0 134 4/18/2025
1.2.0 175 4/16/2025
1.1.0 167 4/15/2025
1.0.0 114 4/12/2025