Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Convert a 2D array to xls-compatible CSV file.
include csv4xls script, and use:
ret = csv4xls.toBlob([[1,2,3],[4,5,6]])
csv4xls provides following APIs:
toString(data)
- convert given 2D array to CSV in String format.toArray(data)
- convert given 2D array to an xls-compatible CSV file in thr returned Uint8Array.toBlob(data)
- same as toArray
but return a corresponding blob.toHref(data)
- same as toBlob
but return a corresponding object url.download(data, filename)
- trigger file downloadOnly work with Excel if file is opened directly. Doesn't work when importing with text import wizard.
MIT
v0.3.0
toString
apiFAQs
csv generator friendly for Microsoft Excel
We found that csv4xls demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.