{"id":17471256,"url":"https://github.com/breuleux/quaint-csv","last_synced_at":"2025-04-14T20:10:08.285Z","repository":{"id":140047237,"uuid":"47772696","full_name":"breuleux/quaint-csv","owner":"breuleux","description":"Read/format CSV data in Quaint","archived":false,"fork":false,"pushed_at":"2017-02-02T05:33:45.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T20:10:04.551Z","etag":null,"topics":["csv","quaint"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/breuleux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-10T16:08:11.000Z","updated_at":"2016-01-25T20:53:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e141c87-fd02-4f4a-9d60-2097a51040c3","html_url":"https://github.com/breuleux/quaint-csv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breuleux%2Fquaint-csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breuleux%2Fquaint-csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breuleux%2Fquaint-csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breuleux%2Fquaint-csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/breuleux","download_url":"https://codeload.github.com/breuleux/quaint-csv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248952350,"owners_count":21188426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csv","quaint"],"created_at":"2024-10-18T16:33:08.594Z","updated_at":"2025-04-14T20:10:08.264Z","avatar_url":"https://github.com/breuleux.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nquaint-csv\n==========\n\nCSV support for the `data` macro in\n[Quaint](http://breuleux.github.io/quaint).\n\n\n## Install\n\n    quaint --setup csv\n\n\n\n## Usage\n\n```quaint\nformat table ::\n  data csv ::\n    Name,Job\n    Alice,accountant\n    Bob,baker\n```\n\nImporting from a file:\n\n```quaint\nrows =\u003e data :: jobs.csv\n\neach {rows} row ::\n  * {row.Name}'s job is {row.Job}\n\n;; output:\n;; * Alice's job is accountant\n;; * Bob's job is baker\n```\n\n\n## Sample configuration\n\nThis configuration entry must be added in the `plugins` section of\n`quaint.json`:\n\n```json\n\"csv\": {\n  \"recordSeparator\": \"\\n\",\n  \"fieldSeparator\": \",\",\n  \"quote\": \"\\\"\",\n  \"trim\": false,\n  \"useHeader\": true\n}\n```\n\n\n## Options\n\n\n### extension\n\nThe file extension to use for the CSV files. (default: \"csv\")\n\n\n### recordSeparator\n\nThe separator character for records (default: `\\n`)\n\n\n### fieldSeparator\n\nThe separator character for fields (default: `,`)\n\n\n### quote\n\nThe character used for quoting (default: `\"`)\n\n\n### trim (boolean)\n\nWhether to trim field values. (default: false)\n\n\n### useHeader (boolean)\n\nWhether to use the first line as field names or not. (default: true)\n\nIf this is true, then the result is an array of records with the names\ntaken from the first line of the file, otherwise it will be an array\nof arrays.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreuleux%2Fquaint-csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbreuleux%2Fquaint-csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreuleux%2Fquaint-csv/lists"}