Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Jun 3, 2024 via pnpm

xlsx 0.18.5

SheetJS Spreadsheet data parser and writer
Package summary
Share
4
issues
4
high severity
vulnerability
4
1
license
9
Apache-2.0
Package created
6 Dec 2013
Version published
24 Mar 2022
Maintainers
1
Total deps
9
Direct deps
7
License
Apache-2.0

Issues

4

4 high severity issues

high
Recommendation: Upgrade to version 0.19.3 or later
via: xlsx@0.18.5
Recommendation: Upgrade to version 0.20.2 or later
via: xlsx@0.18.5
Recommendation: Upgrade to version 0.19.3 or later
via: xlsx@0.18.5
Recommendation: Upgrade to version 0.20.2 or later
via: xlsx@0.18.5
Collapse
Expand

Licenses

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
9 Packages, Including:
adler-32@1.3.1
cfb@1.2.2
codepage@1.15.0
crc-32@1.2.2
frac@1.1.2
ssf@0.11.2
wmf@1.0.2
word@0.3.0
xlsx@0.18.5
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

7
All Dependencies CSV
β“˜ This is a list of xlsx 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
adler-321.3.17.58 kBApache-2.0
prod
cfb1.2.2107.24 kBApache-2.0
prod
codepage1.15.01.8 MBApache-2.0
prod
crc-321.2.29.87 kBApache-2.0
prod
ssf0.11.227.15 kBApache-2.0
prod
wmf1.0.269.72 kBApache-2.0
prod
word0.3.05.37 kBApache-2.0
prod

Visualizations

Frequently Asked Questions

What does xlsx do?

SheetJS, also known as 'xlsx', is a comprehensive, community-maintained JavaScript library that allows you to work with various spreadsheet formats. It's particularly useful for parsing spreadsheets and extracting meaningful data from them, as well as generating new spreadsheet files. This library offers a solution for processing a myriad of spreadsheet data formats, enabling simple data extraction from almost any complex spreadsheet and generating new spreadsheets that are compatible with both legacy and modern software.

How do you use xlsx?

To make use of the xlsx package, you need to install it first using npm (npm install xlsx). Then you can import and use it in your JavaScript file. There are different methods to extract and process data depending on where the spreadsheet data is coming from. Here are two simple examples of how to use the library:

  1. Reading a local file in a NodeJS server:
var XLSX = require("xlsx");

var workbook = XLSX.readFile("test.xlsx");
  1. Fetching a file in the web browser ("Ajax"):
var url = "http://oss.sheetjs.com/test_files/formula_stress_test.xlsx";

/* set up async GET request */
var req = new XMLHttpRequest();
req.open("GET", url, true);
req.responseType = "arraybuffer";

req.onload = function(e) {
  var workbook = XLSX.read(req.response);

  /* DO SOMETHING WITH workbook HERE */
};

req.send();

Where are the xlsx docs?

The xlsx package documentation is not explicitly mentioned in the README content. However, based on the context and the information provided, one can assume that the main source of documentation would be the README itself along with the various files and examples in the GitHub repository for the package