Files
marqdo/lib/csv.mq.md
T
cflmyandCursor fecaacd5be docs(lib): narrate remaining stdlib modules (M2)
Add module intros and per-function purpose lines across EN/ZH libs, with
callable examples on the smaller modules; keep + params and host bodies intact.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 11:47:35 +08:00

23 lines
418 B
Markdown

---
title: lib/csv
description: RFC4180-ish CSV parse/stringify (Mid M4). First row = headers → list of maps.
---
CSV parse and stringify. First row is headers; rows become a list of maps.
## parse
+ `text`
Parse CSV text into a list of maps.
Caller: [csv.parse] text=`raw`
*> host_csv_parse text=`text`*
## stringify
+ `rows`
Serialize a list of maps to CSV text.
*> host_csv_stringify rows=`rows`*