Installations
npm install vue-excel-xlsx
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
16.11.1
NPM Version
8.1.1
Score
45.6
Supply Chain
91.1
Quality
75.6
Maintenance
50
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
Vue (95.09%)
JavaScript (4.91%)
Developer
t-chatoyan
Download Statistics
Total Downloads
534,135
Last Day
213
Last Week
1,543
Last Month
10,243
Last Year
155,904
GitHub Statistics
41 Stars
53 Commits
28 Forks
2 Watching
9 Branches
1 Contributors
Package Meta Information
Latest Version
1.2.2
Package Id
vue-excel-xlsx@1.2.2
Unpacked Size
8.49 kB
Size
2.61 kB
File Count
5
NPM Version
8.1.1
Node Version
16.11.1
Total Downloads
Cumulative downloads
Total Downloads
534,135
Last day
-23.1%
213
Compared to previous day
Last week
-39.4%
1,543
Compared to previous week
Last month
-2.1%
10,243
Compared to previous month
Last year
-10.7%
155,904
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Dev Dependencies
3
vue-excel-xlsx
Convert your data as an XLSX file
Getting started
1 npm install vue-excel-xlsx --save
OR
1 yarn add vue-excel-xlsx
Import vue-excel-xlsx in your app:
1 import VueExcelXlsx from "vue-excel-xlsx"; 2 import Vue from "vue"; 3 4 Vue.use(VueExcelXlsx);
Add in your template
1 <vue-excel-xlsx 2 :data="data" 3 :columns="columns" 4 :file-name="'filename'" 5 :file-type="'xlsx'" 6 :sheet-name="'sheetname'" 7 > 8 Download 9 </vue-excel-xlsx>
Add in your script
1 data() { 2 return { 3 columns : [ 4 { 5 label: "Product", 6 field: "product", 7 }, 8 { 9 label: "Price", 10 field: "price", 11 dataFormat: this.priceFormat 12 }, 13 { 14 label: "Quantity", 15 field: "quantity", 16 }, 17 { 18 label: "Country", 19 field: "address.country", 20 }, 21 { 22 label: "City", 23 field: "address.city", 24 } 25 ], 26 data : [ 27 { 28 product: "Beverage", 29 price: 10, 30 quantity: 2, 31 address: { 32 country: 'Armenia', 33 city: 'Yerevan', 34 } 35 }, 36 { 37 product: "Snack", 38 price: 12, 39 quantity: 6, 40 address: { 41 country: 'Armenia', 42 city: 'Yerevan', 43 } 44 }, 45 { 46 product: "Beverage", 47 price: 10, 48 quantity: 5, 49 address: { 50 country: 'Armenia', 51 city: 'Yerevan', 52 } 53 }, 54 { 55 product: "Snack", 56 price: 12, 57 quantity: 3, 58 address: { 59 country: 'Armenia', 60 city: 'Yerevan', 61 } 62 } 63 ], 64 } 65 }, 66 methods: { 67 priceFormat(value){ 68 return '$ ' + value; 69 } 70 }
Props
Name | Type | Description | Default Value |
---|---|---|---|
columns | Array | Columns configuration | [] |
data | Array | Rows data | [] |
fileName | String | The name of excel file | excel |
sheetName | String | The SheetName of excel file | SheetName |
fileType | String | The Type of excel file. (xlsx, xls) | xlsx |
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 0/20 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
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'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 10 are checked with a SAST tool
Reason
27 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq
- Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488
- Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr
- Warn: Project is vulnerable to: GHSA-566m-qj78-rww5
- Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j
- Warn: Project is vulnerable to: GHSA-3965-hpx2-q597
- Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-g3ch-rx76-35fx
- Warn: Project is vulnerable to: GHSA-3x9f-74h4-2fqr
- Warn: Project is vulnerable to: GHSA-8vcr-vxm8-293m
- Warn: Project is vulnerable to: GHSA-g973-978j-2c3p
- Warn: Project is vulnerable to: GHSA-4r6h-8v6p-xvw6
- Warn: Project is vulnerable to: GHSA-5pgg-2g8v-p4x9
Score
1.7
/10
Last Scanned on 2024-12-30
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 MoreOther packages similar to vue-excel-xlsx
vue-xlsx-style
Excel (XLSB/XLSX/XLSM/XLS/XML) and ODS spreadsheet parser and writer (extended to enable read/write of cell formats with xlsx files)
vue-excel-exporter
Export Excel Component For Vue.js
vue-excel-import-export
vue-è¡¨æ ¼å¯¼å…¥å¯¼å‡ºç»„ä»¶
jspreadsheet-ce
Jspreadsheet is a lightweight, vanilla javascript plugin to create amazing web-based interactive data grids with spreadsheet like controls compatible with Excel, Google Spreadsheets and any other spreadsheet software.