Skip to main content
Glama
csv.md959 B
# CSV ## `csv` Reads structured data from a CSV file. The CSV file will be read and parsed into a 2-dimensional array of strings: Each row in the CSV file will be represented as an array of strings, and all rows will be collected into a single array. Header rows will not be stripped. # Example ```example #let results = csv("example.csv") #table( columns: 2, [*Condition*], [*Result*], ..results.flatten(), ) ``` ## Parameters ### source *(required)* A [path]($syntax/#paths) to a CSV file or raw CSV bytes. ### delimiter The delimiter that separates columns in the CSV file. Must be a single ASCII character. ### row-type How to represent the file's rows. - If set to `array`, each row is represented as a plain array of strings. - If set to `dictionary`, each row is represented as a dictionary mapping from header keys to strings. This option only makes sense when a header row is present in the CSV file. ## Returns - array

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FujishigeTemma/typst-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server