{"id":19475258,"url":"https://github.com/yunisdev/table2csv","last_synced_at":"2025-10-25T09:01:30.058Z","repository":{"id":57404753,"uuid":"298299774","full_name":"yunisdev/table2csv","owner":"yunisdev","description":"Lightweight library to convert HTML table to CSV file","archived":false,"fork":false,"pushed_at":"2020-09-24T15:20:03.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-26T02:22:30.623Z","etag":null,"topics":["convert","csv","html","javascript","js","table"],"latest_commit_sha":null,"homepage":"https://yunisdev.github.io/table2csv/","language":null,"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/yunisdev.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}},"created_at":"2020-09-24T14:13:20.000Z","updated_at":"2020-10-19T18:17:53.000Z","dependencies_parsed_at":"2022-09-26T17:01:36.529Z","dependency_job_id":null,"html_url":"https://github.com/yunisdev/table2csv","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/yunisdev%2Ftable2csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunisdev%2Ftable2csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunisdev%2Ftable2csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yunisdev%2Ftable2csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yunisdev","download_url":"https://codeload.github.com/yunisdev/table2csv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240698771,"owners_count":19843451,"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":["convert","csv","html","javascript","js","table"],"created_at":"2024-11-10T19:31:19.182Z","updated_at":"2025-10-17T19:59:58.297Z","avatar_url":"https://github.com/yunisdev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Installation\nAdd following HTML before body end:\n```html\n\u003cscript src=\"https://yunisdev.github.io/table2csv/table2csv.min.js\"\u003e\u003c/script\u003e\n\u003c!-- or --\u003e\n\u003cscript src=\"https://unpkg.com/yunisdev-table2csv\"\u003e\u003c/script\u003e\n```\nor you can install using npm:\n```bash\nnpm i yunisdev-table2csv\n```\n\n## Usage\nYou can use this library using following syntax:\n```html\n\u003cbutton class=\"table-btn\" onclick=\"table2csv(this,1)\" data-table=\"usersTable\"\u003eDownload\u003c/button\u003e\n```\n- ```data-table``` is id of table to convert.\n- ```table2csv``` is function that converts table in id of ```data-table``` to csv file and downloads. Accepts 2 parameters:\n    - ```el```. Required. Accepts object of button.\n    - ```endcut```. Optional. Accept an integer to cut from end of table.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunisdev%2Ftable2csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyunisdev%2Ftable2csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyunisdev%2Ftable2csv/lists"}