Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@iamstarkov/xlso
Advanced tools
Readme
Node.js package for parsing excel workbooks into an Javascript array of rows. Excel workbooks based on the node.js package xlsx.
$ npm install xlso --save
Let suppose the following table is saved as testdata.xlsx
.
Id | Name | City |
---|---|---|
1 | Micky | Loum |
2 | Lapiro | Mbanga |
The following snippet show how to parse testdata.xlsx
in order to get all data.
var xlso = require('xlso');
var xlsx = require('xlsx');
// the xlsx's workbook to parse by the xlso package.
var workbook = xlsx.readFile("testdata.xlsx");
// parse the workbook to a js array
var rows = xlso.parseWorkbook(workbook, 0, 0);
// display your js array
rows.forEach(function(item, index){
console.log("Id: " + item.Id + ", Name: " + item.Name + ", City: " + item.City);
});
xlso
expose one API that expect three parameters:
first parameter
is the workbook that was generated by the package xlsx (see section below).second parameter
is the position of the sheet in the given workbook (the index 0 is the first sheet).last parameter
is the position of the header row (position 0 means also first row).PS: the header row must be the first row.
$ npm test
FAQs
Node.js package for parsing an excel workbook to an javascript object
The npm package @iamstarkov/xlso receives a total of 2 weekly downloads. As such, @iamstarkov/xlso popularity was classified as not popular.
We found that @iamstarkov/xlso 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.