{"id":13941347,"url":"https://github.com/vanillaes/csv","last_synced_at":"2026-04-02T17:45:21.239Z","repository":{"id":44696498,"uuid":"185356132","full_name":"vanillaes/csv","owner":"vanillaes","description":"A modern, fast, RFC 4180 compliant parser for JS","archived":false,"fork":false,"pushed_at":"2026-03-24T15:55:14.000Z","size":338,"stargazers_count":102,"open_issues_count":7,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-25T20:37:44.189Z","etag":null,"topics":["csv","csv-parser","esm","esmodule","rfc4180"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vanillaes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-05-07T08:25:14.000Z","updated_at":"2026-03-24T15:53:50.000Z","dependencies_parsed_at":"2024-11-27T10:41:06.450Z","dependency_job_id":"38aa1d6f-7b9c-455c-9ffe-c247783b0f37","html_url":"https://github.com/vanillaes/csv","commit_stats":null,"previous_names":["vanillaes/csv-es"],"tags_count":62,"template":false,"template_full_name":null,"purl":"pkg:github/vanillaes/csv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanillaes%2Fcsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanillaes%2Fcsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanillaes%2Fcsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanillaes%2Fcsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanillaes","download_url":"https://codeload.github.com/vanillaes/csv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanillaes%2Fcsv/sbom","scorecard":{"id":915966,"data":{"date":"2025-08-11","repo":{"name":"github.com/vanillaes/csv","commit":"cbb81dbfb65c666b90379d65d87346821dd3186c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 2/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/latest.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/vanillaes/csv/latest.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/vanillaes/csv/pr.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/vanillaes/csv/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/vanillaes/csv/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/vanillaes/csv/release.yml/main?enable=pin","Info:   0 out of   5 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/latest.yml:1","Warn: no topLevel permission defined: .github/workflows/pr.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T20:59:52.658Z","repository_id":44696498,"created_at":"2025-08-24T20:59:52.658Z","updated_at":"2025-08-24T20:59:52.658Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31312492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","csv-parser","esm","esmodule","rfc4180"],"created_at":"2024-08-08T02:01:17.039Z","updated_at":"2026-04-02T17:45:21.232Z","avatar_url":"https://github.com/vanillaes.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eCSV\u003c/h1\u003e\n\nCSV is a universal JavaScript CSV parser designed specifically to be simple, fast, and spec compliant.\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/vanillaes/csv/releases\"\u003e\u003cimg src=\"https://badgen.net/github/tag/vanillaes/csv?cache-control=no-cache\" alt=\"GitHub Release\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@vanillaes/csv\"\u003e\u003cimg src=\"https://badgen.net/npm/v/@vanillaes/csv?icon=npm\" alt=\"NPM Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@vanillaes/csv\"\u003e\u003cimg src=\"https://badgen.net/npm/dm/@vanillaes/csv?icon=npm\" alt=\"NPM Downloads\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/vanillaes/csv/actions\"\u003e\u003cimg src=\"https://github.com/vanillaes/csv/workflows/Latest/badge.svg\" alt=\"Latest Status\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/vanillaes/csv/actions\"\u003e\u003cimg src=\"https://github.com/vanillaes/csv/workflows/Release/badge.svg\" alt=\"Release Status\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## Features\n\n- RFC Compliant\n- ECMAScript Module\n- Typescript Compatible\n\n## Imports\n\nThis package works isomorphically in browser and server-side JavaScript\n\n### Browser\n\nImport directly from the local path or a CDN\n\n```html\n\u003cscript type=\"module\"\u003e\nimport { parse } from 'path/to/csv/src/index.js'\n\u003c/script\u003e\n```\n\nThe minified version can be imported from\n\n```html\n\u003cscript type=\"module\"\u003e\nimport { parse } from 'path/to/csv/src/index.min.js'\n\u003c/script\u003e\n```\n\n### Node\n\nInstall the package\n\n```sh\nnpm install @vanillaes/csv\n```\n\nImport using the module path\n\n```javascript\nimport { parse, stringify } from '@vanillaes/csv'\n```\n## Usage\n\n### CSV.parse()\n\nTakes a string of CSV data and converts it to a 2 dimensional array of `[entries][values]`\n\n#### Arguments\n\n```CSV.parse(csv, {options}, reviver(value, row, col)) : [entries][values]```\n\n- csv - the CSV string to parse\n- options\n  - typed - infer types (default `false`)\n- reviver\u003csup\u003e1\u003c/sup\u003e - a custom function to modify the output (default `(value) =\u003e value`)\n\n*\u003csup\u003e1\u003c/sup\u003e Values for `row` and `col` are 1-based.*\n\n#### Example\n\n```javascript\nconst csv = `\nheader1,header2,header3\naaa,bbb,ccc\nzzz,yyy,xxx\n`;\nconst parsed = parse(csv)\nconsole.log(parsed);\n\u003e [\n\u003e   [ \"header1\", \"header2\", \"header3\" ],\n\u003e   [ \"aaa\", \"bbb\", \"ccc\" ],\n\u003e   [ \"zzz\", \"yyy\", \"xxx\" ]\n\u003e ]\n```\n\n### CSV.stringify()\n\nTakes a 2 dimensional array of `[entries][values]` and converts them to CSV\n\n#### Arguments\n\n```CSV.stringify(array, {options}, replacer(value, row, col)) : string```\n\n- array - the input array to stringify\n- options\n  - eof - add a trailing newline at the end of file (default `true`)\n- replacer\u003csup\u003e1\u003c/sup\u003e - a custom function to modify the values (default `(value) =\u003e value`)\n\n*\u003csup\u003e1\u003c/sup\u003e Values for `row` and `col` are 1-based.*\n\n#### Example\n\n```javascript\nconst data = [\n  [ \"header1\", \"header2\", \"header3\" ],\n  [ \"aaa\", \"bbb\", \"ccc\" ],\n  [ \"zzz\", \"yyy\", \"xxx\" ]\n];\nconst stringified = stringify(data)\nconsole.log(stringified);\n\u003e \"header1,header2,header3\"\n\u003e \"aaa,bbb,ccc\"\n\u003e \"zzz,yyy,xxx\"\n```\n\n## Typescript\n\nTypings are generated from JSDoc using Typescript. They are 100% compatible with VSCode Intellisense and will work seamlessly with Typescript.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanillaes%2Fcsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanillaes%2Fcsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanillaes%2Fcsv/lists"}