Gathering detailed insights and metrics for xlsx-populate-wrapper
Gathering detailed insights and metrics for xlsx-populate-wrapper
Gathering detailed insights and metrics for xlsx-populate-wrapper
Gathering detailed insights and metrics for xlsx-populate-wrapper
npm install xlsx-populate-wrapper
Typescript
Module System
Min. Node Version
Node Version
NPM Version
65.3
Supply Chain
83.2
Quality
74.6
Maintenance
100
Vulnerability
97.9
License
TypeScript (86.18%)
JavaScript (13.82%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Stars
59 Commits
1 Forks
2 Watchers
2 Branches
1 Contributors
Updated on Nov 04, 2020
Minified
Minified + Gzipped
Latest Version
1.0.9
Package Id
xlsx-populate-wrapper@1.0.9
Unpacked Size
18.35 kB
Size
6.22 kB
File Count
16
NPM Version
6.4.1
Node Version
8.12.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
xlsx-populate wrapper library for basic I/O operation on an Excel data file with worksheets that contained a row of headers
it's not a good idea to update json data from one sheet to another unless the column headings are the same on both worksheets
)1npm install --save xlsx-populate-wrapper
1// 1. require the wrapper class 2const xPopWrapper = require("xlsx-populate-wrapper") 3const path = require("path") 4 5// 2. create an instance by passing in path to an excel file 6const filePath = path.resolve(someFilePath) 7const workbook = new xPopWrapper(filePath) 8 9workbook.init() 10 .then(wb => { 11 // work with returned instance 12 // to get a list of worksheet names 13 console.log(wb.getSheetNames()) 14 // => ['sheet 1', 'sheet 2', 'sheet 3'] 15 16 // or use the initialized variable 17 // to get a list of row headings 18 console.log(workbook.getHeadings('sheet 1')) 19 // => ['title 1', 'title 2', 'title 3'] 20 21 // get data from a worksheet 22 const jsonData = workbook.getData('sheet 1') 23 console.log(jsonData) 24 /* 25 [ 26 { 27 'title 1': 'a', 28 'title 2': 'b', 29 'title 3': 'c', 30 }, 31 { 32 'title 1': 'd', 33 'title 2': 'e', 34 'title 3': 'f', 35 } 36 ] 37 */ 38 39 workbook.update('sheet 1', someJsonArray) // updating a worksheet 40 41 return workbook.commit() // commit changes to file 42 }) 43 .catch(error => { 44 throw error 45 })
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
65 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
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