{"id":20648136,"url":"https://github.com/gregoranders/ts-csv","last_synced_at":"2025-04-16T14:42:18.326Z","repository":{"id":36981010,"uuid":"272100977","full_name":"gregoranders/ts-csv","owner":"gregoranders","description":"Simple CSV parser in TypeScript","archived":false,"fork":false,"pushed_at":"2024-03-11T03:06:44.000Z","size":259,"stargazers_count":7,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T05:23:54.418Z","etag":null,"topics":["api-doc","api-documenter","api-extractor","cjs","commonjs","csv","esm","jest","typescript","typescript-library"],"latest_commit_sha":null,"homepage":"https://gregoranders.github.io/ts-csv","language":"TypeScript","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/gregoranders.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-06-13T23:21:39.000Z","updated_at":"2024-12-11T11:31:37.000Z","dependencies_parsed_at":"2023-12-17T12:26:08.508Z","dependency_job_id":"8743af33-23d3-4ce3-a511-db899394cbec","html_url":"https://github.com/gregoranders/ts-csv","commit_stats":{"total_commits":124,"total_committers":3,"mean_commits":"41.333333333333336","dds":0.2983870967741935,"last_synced_commit":"b54a14b0a26407a07911c4f1e2c8641a799f9145"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoranders%2Fts-csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoranders%2Fts-csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoranders%2Fts-csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoranders%2Fts-csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregoranders","download_url":"https://codeload.github.com/gregoranders/ts-csv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249145424,"owners_count":21219966,"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":["api-doc","api-documenter","api-extractor","cjs","commonjs","csv","esm","jest","typescript","typescript-library"],"created_at":"2024-11-16T17:06:25.906Z","updated_at":"2025-04-16T14:42:18.303Z","avatar_url":"https://github.com/gregoranders.png","language":"TypeScript","readme":"[\u003cimg src=\"./typescript.svg\" /\u003e][typescript-url]\n\n# @gregoranders/csv\n\n## Simple CSV parser in [TypeScript][typescript-url]\n\n## [API Docs](./docs/index.md)\n\n[![License][license-image]][license-url]\n[![Issues][issues-image]][issues-url]\n[![Code maintainability][code-maintainability-image]][code-maintainability-url] [![Code issues][code-issues-image]][code-issues-url] [![Code Technical Debt][code-tech-debt-image]][code-tech-debt-url]\n\n[![types][npm-types-image]][npm-types-url]\n[![node][node-image]][node-url]\n\n[![Main Language][language-image]][code-metric-url] [![Languages][languages-image]][code-metric-url] [![Code Size][code-size-image]][code-metric-url] [![Repo-Size][repo-size-image]][code-metric-url]\n\n## Features\n\n- [TypeScript][typescript-url]\n- [Jest][jest-url] Unit Tests with Code Coverage\n- GitHub CI Integration (feature, development, master, release)\n- Publish via CI\n- Code Quality via Code Climate\n\n|                                                                  |                                                                            |                                                                              |\n| ---------------------------------------------------------------- | -------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |\n| [![Release][release-image]][release-url]                         |                                                                            | [![npm][npm-image]][npm-url]                                                 |\n| [![Master Build][master-build-image]][master-url]                | [![Master Coverage][master-coveralls-image]][master-coveralls-url]         | [![Master Version][master-version-image]][master-version-url]                |\n| [![Development Build][development-build-image]][development-url] | [![Test Coverage][development-coveralls-image]][development-coveralls-url] | [![Development Version][development-version-image]][development-version-url] |\n\n## Example\n\n```sh\nnpm install @gregoranders/csv\n```\n\n```ts\nimport Parser from '@gregoranders/csv';\n\nconst parser = new Parser();\nconst rows = parser.parse('a,b,c\\n1,2,3\\n4,5,6');\n```\n\n```ts\nconsole.log(JSON.stringify(rows, null, 2));\n\n[\n  [\n    \"a\",\n    \"b\",\n    \"c\"\n  ],\n  [\n    \"1\",\n    \"2\",\n    \"3\"\n  ],\n  [\n    \"4\",\n    \"5\",\n    \"6\"\n  ]\n]\n```\n\n```ts\nconsole.log(JSON.stringify(parser.rows, null, 2));\n\n[\n  [\n    \"a\",\n    \"b\",\n    \"c\"\n  ],\n  [\n    \"1\",\n    \"2\",\n    \"3\"\n  ],\n  [\n    \"4\",\n    \"5\",\n    \"6\"\n  ]\n]\n```\n\n```ts\nconsole.log(JSON.stringify(parser.json, null, 2));\n\n[\n  {\n    \"a\": \"1\",\n    \"b\": \"2\",\n    \"c\": \"3\"\n  },\n  {\n    \"a\": \"4\",\n    \"b\": \"5\",\n    \"c\": \"6\"\n  }\n]\n```\n\n### Clone repository\n\n```sh\ngit clone https://github.com/gregoranders/ts-csv\n```\n\n### Install dependencies\n\n```sh\nnpm install\n```\n\n### Build\n\n```sh\nnpm run build\n```\n\n### Testing\n\n#### Test using [Jest][jest-url]\n\n```sh\nnpm test\n```\n\n### Code Climate Checks [docker required](docs/CODECLIMATE.md)\n\n```sh\nnpm run codeclimate\n```\n\n### Clear\n\n```sh\nnpm run clear\n```\n\n[release-url]: https://github.com/gregoranders/ts-csv/releases\n[master-url]: https://github.com/gregoranders/ts-csv/tree/master\n[development-url]: https://github.com/gregoranders/ts-csv/tree/development\n[repository-url]: https://github.com/gregoranders/ts-csv\n[code-metric-url]: https://github.com/gregoranders/ts-csv/search?l=TypeScript\n[travis-url]: https://travis-ci.org/gregoranders/ts-csv\n[travis-image]: https://travis-ci.org/gregoranders/ts-csv.svg?branch=master\n[license-url]: https://github.com/gregoranders/ts-csv/blob/master/LICENSE\n[license-image]: https://img.shields.io/github/license/gregoranders/ts-csv.svg\n[master-version-url]: https://github.com/gregoranders/ts-csv/blob/master/package.json\n[master-version-image]: https://img.shields.io/github/package-json/v/gregoranders/ts-csv/master\n[development-version-url]: https://github.com/gregoranders/ts-csv/blob/development/package.json\n[development-version-image]: https://img.shields.io/github/package-json/v/gregoranders/ts-csv/development\n[issues-url]: https://github.com/gregoranders/ts-csv/issues\n[issues-image]: https://img.shields.io/github/issues-raw/gregoranders/ts-csv.svg\n[release-build-image]: https://github.com/gregoranders/ts-csv/workflows/Release%20CI/badge.svg\n[master-build-image]: https://github.com/gregoranders/ts-csv/workflows/Master%20CI/badge.svg\n[development-build-image]: https://github.com/gregoranders/ts-csv/workflows/Development%20CI/badge.svg\n[master-coveralls-url]: https://coveralls.io/github/gregoranders/ts-csv?branch=master\n[master-coveralls-image]: https://img.shields.io/coveralls/github/gregoranders/ts-csv/master\n[development-coveralls-image]: https://img.shields.io/coveralls/github/gregoranders/ts-csv/development\n[development-coveralls-url]: https://coveralls.io/github/gregoranders/ts-csv?branch=development\n[code-maintainability-url]: https://codeclimate.com/github/gregoranders/ts-csv/maintainability\n[code-maintainability-image]: https://img.shields.io/codeclimate/maintainability/gregoranders/ts-csv\n[code-issues-url]: https://codeclimate.com/github/gregoranders/ts-csv/maintainability\n[code-issues-image]: https://img.shields.io/codeclimate/issues/gregoranders/ts-csv\n[code-tech-debt-url]: https://codeclimate.com/github/gregoranders/ts-csv/maintainability\n[code-tech-debt-image]: https://img.shields.io/codeclimate/tech-debt/gregoranders/ts-csv\n[master-circleci-image]: https://circleci.com/gh/gregoranders/ts-csv/tree/master.svg?style=shield\n[master-circleci-url]: https://app.circleci.com/pipelines/github/gregoranders/ts-csv?branch=master\n[development-circleci-image]: https://circleci.com/gh/gregoranders/ts-csv/tree/development.svg?style=shield\n[development-circleci-url]: https://app.circleci.com/pipelines/github/gregoranders/ts-csv?branch=development\n[npm-url]: https://www.npmjs.com/package/@gregoranders/csv\n[npm-image]: https://img.shields.io/npm/v/@gregoranders/csv\n[node-url]: https://www.npmjs.com/package/@gregoranders/csv\n[node-image]: https://img.shields.io/node/v/@gregoranders/csv\n[npm-types-url]: https://www.npmjs.com/package/@gregoranders/csv\n[npm-types-image]: https://img.shields.io/npm/types/@gregoranders/csv\n[release-url]: https://www.npmjs.com/package/@gregoranders/csv\n[release-image]: https://img.shields.io/github/release/gregoranders/ts-csv\n[language-image]: https://img.shields.io/github/languages/top/gregoranders/ts-csv\n[languages-image]: https://img.shields.io/github/languages/count/gregoranders/ts-csv\n[code-size-image]: https://img.shields.io/github/languages/code-size/gregoranders/ts-csv\n[repo-size-image]: https://img.shields.io/github/repo-size/gregoranders/ts-csv\n[typescript-url]: http://www.typescriptlang.org/\n[jest-url]: https://jestjs.io\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregoranders%2Fts-csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregoranders%2Fts-csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregoranders%2Fts-csv/lists"}