rcsv

Description

This mod can parse and write CSV (Comma-Separated Values) files from and to strings. Only CSV files that are RFC 4180-compliant are supported to keep it simple.

According to RFC 4180, CSV is a file format that stores textual data into a table-like structure, with rows and columns, where each row is separated by CR LF, and each value in a row is separated by a comma. It looks like this:

apple,pear,orange,pineapple,raspberry
34,594,330,49430,-403
"quotation marks","They said ""Hello"" to me.","Hello, World!","Luanti","CSV"

This mod aims to be as simple as possible by avoiding unnecessary and confusing features. Only the bare minimum, but enough to be useful.

Features 🔗

  • Parse a string in CSV format into a Lua table
  • Write a Lua table into a CSV string
  • Full compliance with RFC 4180
  • Values can include any characters, including newlines, commas and quotation marks
  • No bullshit, just CSV

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Releases

2026-03-03 08:19 UTC

1.1.2 🔗

  • Fix bad refactor from previous version
2026-03-03 07:39 UTC

1.1.1 🔗

  • API functions can now be run in standalone Lua interpreter
2026-02-07 14:56 UTC

1.1.0 🔗

The functions can now be used in async environments as well.

All releases

Information

Provides

rcsv

Dependencies

Required
No required dependencies

Information

Type
Mod
Technical Name
rcsv
Languages
English
License
MIT
Maintenance State
As-Is
Added
2025-06-16 12:32 UTC
Maintainers
Wuzzy