{"id":20881715,"url":"https://github.com/huanz/tableexport","last_synced_at":"2025-04-05T05:03:53.976Z","repository":{"id":44387414,"uuid":"25338151","full_name":"huanz/tableExport","owner":"huanz","description":"tableExport（table导出文件，支持json、csv、txt、xml、word、excel、image、pdf）","archived":false,"fork":false,"pushed_at":"2019-10-29T13:57:27.000Z","size":149,"stargazers_count":294,"open_issues_count":17,"forks_count":141,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-29T04:07:23.819Z","etag":null,"topics":["csv","doc","file","image","javascript","json","pdf","xls","xml"],"latest_commit_sha":null,"homepage":"","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/huanz.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":"2014-10-17T04:25:56.000Z","updated_at":"2025-01-31T10:48:24.000Z","dependencies_parsed_at":"2022-07-14T15:17:15.698Z","dependency_job_id":null,"html_url":"https://github.com/huanz/tableExport","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/huanz%2FtableExport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huanz%2FtableExport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huanz%2FtableExport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huanz%2FtableExport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huanz","download_url":"https://codeload.github.com/huanz/tableExport/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289422,"owners_count":20914464,"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","doc","file","image","javascript","json","pdf","xls","xml"],"created_at":"2024-11-18T07:26:04.705Z","updated_at":"2025-04-05T05:03:53.954Z","avatar_url":"https://github.com/huanz.png","language":"JavaScript","readme":"# tableExport.js\n\n`table`导出文件，支持导出`json`、`txt`、`csv`、`xml`、`doc`、`xls`、`image`、 `pdf`。\n\n## browsers\n\n| Browser        | Constructs as | Filenames    | Max Blob Size | Dependencies |\n| -------------- | ------------- | ------------ | ------------- | ------------ |\n| Firefox 20+    | Blob          | Yes          | 800 MiB       | None         |\n| Firefox \u003c 20   | data: URI     | No           | n/a           | [Blob.js](https://github.com/eligrey/Blob.js) |\n| Chrome         | Blob          | Yes          | [500 MiB][3]  | None         |\n| Chrome for Android | Blob      | Yes          | [500 MiB][3]  | None         |\n| Edge           | Blob          | Yes          | ?             | None         |\n| IE 10+         | Blob          | Yes          | 600 MiB       | None         |\n| Opera 15+      | Blob          | Yes          | 500 MiB       | None         |\n| Opera \u003c 15     | data: URI     | No           | n/a           | [Blob.js](https://github.com/eligrey/Blob.js) |\n| Safari 6.1+*   | Blob          | No           | ?             | None         |\n| Safari \u003c 6     | data: URI     | No           | n/a           | [Blob.js](https://github.com/eligrey/Blob.js) |\n\n## usage\n\n```shell\nnpm i table-export --save\n```\n\n```javascript\nvar tableExport = require('table-export');\n// dom id, filename, type: json, txt, csv, xml, doc, xsl, image, pdf\ntableExport('table1', 'test', 'image');\n```\n\n## build\n\n```bash\ngit clone git@github.com:huanz/tableExport.git\ncd tableExport\nnpm i\n\n// 开发\nnpm run dev\n\n// 构建个人版本\nMODULES='doc xls image' npm run build\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuanz%2Ftableexport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuanz%2Ftableexport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuanz%2Ftableexport/lists"}