Gathering detailed insights and metrics for qxs-luckyexcel-vue
Gathering detailed insights and metrics for qxs-luckyexcel-vue
npm install qxs-luckyexcel-vue
Typescript
Module System
Node Version
NPM Version
68.8
Supply Chain
84.2
Quality
73.9
Maintenance
100
Vulnerability
99.3
License
HTML (41.89%)
JavaScript (38.83%)
TypeScript (16.99%)
CSS (2.27%)
Batchfile (0.02%)
Total Downloads
145
Last Day
1
Last Week
1
Last Month
2
Last Year
50
438 Stars
99 Commits
162 Forks
11 Watching
5 Branches
15 Contributors
Latest Version
1.1.0
Package Id
qxs-luckyexcel-vue@1.1.0
Unpacked Size
1.12 MB
Size
255.46 kB
File Count
18
NPM Version
9.5.1
Node Version
18.16.0
Publised On
19 Sept 2023
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
1
Compared to previous week
Last month
100%
2
Compared to previous month
Last year
-47.4%
50
Compared to previous year
English| 简体ä¸æ–‡
Luckyexcel is an excel import and export library adapted to Luckysheet. It only supports .xlsx format files (not .xls).
Support excel file import to Luckysheet adaptation list
The goal is to support all features supported by Luckysheet
1<script src="https://cdn.jsdelivr.net/npm/luckyexcel/dist/luckyexcel.umd.js"></script> 2<script> 3 // Make sure to get the xlsx file first, and then use the global method window.LuckyExcel to convert 4 LuckyExcel.transformExcelToLucky( 5 file, 6 function(exportJson, luckysheetfile){ 7 // After obtaining the converted table data, use luckysheet to initialize or update the existing luckysheet workbook 8 // Note: Luckysheet needs to introduce a dependency package and initialize the table container before it can be used 9 luckysheet.create({ 10 container: 'luckysheet', // luckysheet is the container id 11 data:exportJson.sheets, 12 title:exportJson.info.name, 13 userInfo:exportJson.info.name.creator 14 }); 15 }, 16 function(err){ 17 logger.error('Import failed. Is your fail a valid xlsx?'); 18 }); 19</script>
Case Demo index.html shows the detailed usage
1npm install luckyexcel
1import LuckyExcel from 'luckyexcel' 2 3// After getting the xlsx file 4LuckyExcel.transformExcelToLucky(data, 5 function(exportJson, luckysheetfile){ 6 // Get the worksheet data after conversion 7 }, 8 function(error){ 9 // handle error if any thrown 10 } 11)
Case luckysheet-vue
1var fs = require("fs"); 2var LuckyExcel = require('luckyexcel'); 3 4// Read an xlsx file 5fs.readFile("House cleaning checklist.xlsx", function(err, data) { 6 if (err) throw err; 7 8 LuckyExcel.transformExcelToLucky(data, function(exportJson, luckysheetfile){ 9 // Get the worksheet data after conversion 10 }); 11 12});
Case Luckyexcel-node
Node.js Version >= 6
npm install -g gulp-cli
npm install
npm run dev
npm run build
A third-party plug-in is used in the project: JSZip, thanks!
Copyright (c) 2020-present, mengshukeji
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 10/11 approved changesets -- score normalized to 9
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
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
62 existing vulnerabilities detected
Details
Score
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 More