Installations
npm install xltodb
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
12.19.0
NPM Version
6.14.8
Score
61.4
Supply Chain
70.7
Quality
74.9
Maintenance
50
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
lakshyakumar
Download Statistics
Total Downloads
398
Last Day
2
Last Week
4
Last Month
21
Last Year
82
GitHub Statistics
1 Commits
2 Watching
1 Branches
1 Contributors
Bundle Size
909.48 kB
Minified
325.51 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.0.1
Package Id
xltodb@1.0.1
Unpacked Size
4.43 kB
Size
1.78 kB
File Count
3
NPM Version
6.14.8
Node Version
12.19.0
Total Downloads
Cumulative downloads
Total Downloads
398
Last day
0%
2
Compared to previous day
Last week
-55.6%
4
Compared to previous week
Last month
162.5%
21
Compared to previous month
Last year
2.5%
82
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
XlToDb
XlToDb is a node package that collects data from an excel file and adds the collected rows to the MongoDB database. The package uses the column header or the 1st row as the key elements and forms an object with each row. Quick and easy to implement.
Installation
Use the node npm to install XlToDb.
1npm install xltodb
Example Usage
1const xltodb = require('xltodb') 2 3// initiate mongo client 4const { MongoClient } = require("mongodb"); 5const client = new MongoClient('mongodb_connection_string') 6 7// Instantiate Transify 8let XlToDb = new xltodb('./test_sheet.xlsx') 9 10// Convert the excel data to json object 11let dataInJson = XlToDb.xlToJson() 12 13// Save the data to MongoDB 14XlToDb.saveToDb(client, "DataBase_Name", "collection_name").then((result)=>{ 15 console.log(result) 16})
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/1 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
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
2.6
/10
Last Scanned on 2025-01-27
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