{"id":13626496,"url":"https://github.com/GeoffZhu/vue-xlsx-table","last_synced_at":"2025-04-16T14:33:47.982Z","repository":{"id":48496666,"uuid":"85296152","full_name":"GeoffZhu/vue-xlsx-table","owner":"GeoffZhu","description":"Not need upload, view xlsx or xls file in your browser, Supported by js-xlsx.","archived":false,"fork":false,"pushed_at":"2022-12-07T13:04:45.000Z","size":2950,"stargazers_count":149,"open_issues_count":13,"forks_count":34,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-01T23:04:38.816Z","etag":null,"topics":["excel","table","vue","xlsx"],"latest_commit_sha":null,"homepage":"http://blog.geoffzhu.cn/vue-xlsx-table/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GeoffZhu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-17T09:47:48.000Z","updated_at":"2024-10-17T11:00:27.000Z","dependencies_parsed_at":"2023-01-25T03:15:33.833Z","dependency_job_id":null,"html_url":"https://github.com/GeoffZhu/vue-xlsx-table","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoffZhu%2Fvue-xlsx-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoffZhu%2Fvue-xlsx-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoffZhu%2Fvue-xlsx-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoffZhu%2Fvue-xlsx-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeoffZhu","download_url":"https://codeload.github.com/GeoffZhu/vue-xlsx-table/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223716553,"owners_count":17191066,"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":["excel","table","vue","xlsx"],"created_at":"2024-08-01T21:02:20.489Z","updated_at":"2024-11-08T16:30:48.124Z","avatar_url":"https://github.com/GeoffZhu.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"# vue-xlsx-table\n\n\u003e Not need upload, view xlsx or xls file in your browser, Supported by [js-xlsx](https://github.com/SheetJS/js-xlsx).\n\u003e [Live Demo](http://geoffzhu.cn/vue-xlsx-table/)\n\n[![npm version](https://img.shields.io/npm/v/vue-xlsx-table.svg)](https://www.npmjs.com/package/vue-xlsx-table)\n\n[中文文档](https://github.com/GeoffZhu/vue-xlsx-table/blob/master/README.zh.md)\n\n## Requirements\n- vue: ^2.0.0\n\n## Usage\n#### install\n\n``` sh\n npm install vue-xlsx-table --save\n```\n\n#### main.js\n\n```javascript\nimport vueXlsxTable from 'vue-xlsx-table'\nVue.use(vueXlsxTable, {rABS: false}) //Browser FileReader API have two methods to read local file readAsBinaryString and readAsArrayBuffer, default rABS false\n```\n\n#### file.vue\n\n```vue\n\u003ctemplate\u003e\n  \u003cdiv id=\"app\"\u003e\n    \u003ch1\u003evue-xlsx-table\u003c/h1\u003e\n    \u003cvue-xlsx-table @on-select-file=\"handleSelectedFile\"\u003e\u003c/vue-xlsx-table\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nexport default {\n  name: 'app',\n  methods: {\n    handleSelectedFile (convertedData) {\n      console.log(convertedData)\n    }\n  }\n}\n\u003c/script\u003e\n```\n\n## Develop\n```\nnpm run dev  //develop\nnpm run build //production\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGeoffZhu%2Fvue-xlsx-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGeoffZhu%2Fvue-xlsx-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGeoffZhu%2Fvue-xlsx-table/lists"}