Installations
npm install vxe-table-plugin-export
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
10.15.3
NPM Version
6.4.1
Score
46.7
Supply Chain
71.9
Quality
75.6
Maintenance
50
Vulnerability
100
License
Releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (86.5%)
JavaScript (13.5%)
Developer
xuliangzhan
Download Statistics
Total Downloads
2,725
Last Day
8
Last Week
20
Last Month
29
Last Year
299
GitHub Statistics
42 Stars
126 Commits
18 Forks
3 Watching
2 Branches
1 Contributors
Package Meta Information
Latest Version
1.0.11
Package Id
vxe-table-plugin-export@1.0.11
Unpacked Size
51.28 kB
Size
16.21 kB
File Count
9
NPM Version
6.4.1
Node Version
10.15.3
Total Downloads
Cumulative downloads
Total Downloads
2,725
Last day
700%
8
Compared to previous day
Last week
400%
20
Compared to previous week
Last month
31.8%
29
Compared to previous month
Last year
-35.1%
299
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
35
vxe-table-plugin-export-xlsx
基于 vxe-table 表格的增强插件,支持导出 xlsx 格式
Installing
1npm install xe-utils vxe-table vxe-table-plugin-export-xlsx xlsx
1import Vue from 'vue' 2import VXETable from 'vxe-table' 3import VXETablePluginExportXLSX from 'vxe-table-plugin-export-xlsx' 4 5Vue.use(VXETable) 6VXETable.use(VXETablePluginExportXLSX)
Demo
1<vxe-toolbar> 2 <template v-slot:buttons> 3 <vxe-button @click="exportEvent">导出.xlsx</vxe-button> 4 </template> 5</vxe-toolbar> 6 7<vxe-table 8 border 9 ref="xTable" 10 height="600" 11 :data="tableData"> 12 <vxe-table-column type="index" width="60"></vxe-table-column> 13 <vxe-table-column prop="name" label="Name"></vxe-table-column> 14 <vxe-table-column prop="age" label="Age"></vxe-table-column> 15 <vxe-table-column prop="date" label="Date"></vxe-table-column> 16</vxe-table>
1export default { 2 data () { 3 return { 4 tableData: [ 5 { 6 id: 100, 7 name: 'test', 8 age: 26, 9 date: null 10 } 11 ] 12 } 13 }, 14 methods: { 15 exportEvent() { 16 this.$refs.exportData({ 17 filename: 'export', 18 sheetName: 'Sheet1', 19 type: 'xlsx' 20 }) 21 } 22 } 23}
License
MIT License, 2019-present, Xu Liangzhan
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
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
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
- Warn: branch protection not enabled for branch 'v2'
Score
3.3
/10
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More