
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A simple way to create spreadsheets.
It is not recommended to use this library in real projects.
Use one of the commands below to install the node-sheet:
npm install node-sheet
yarn add node-sheet
pnpm add node-sheet
| Class | Description |
|---|---|
| Workbook | Main class that manages the worksheet |
| Worksheet | Class that manages each sheet page |
| Column | Class used to build each column of the worksheet |
| Header | Class used to add the headers of each column that is able to define patterns for all the cells of the column |
| Cell | Class used to insert rows to the column |
Here's how you can create a basic spreadsheet containing name, age and gender:
const { Worksheet, Column, Header, Cell, Workbook } = require('node-sheet');
const worksheet = new Worksheet('Page 1'); // Page 1 is the page name
worksheet.addColumns([
new Column({
header: new Header({ title: 'Name' }),
cells: [new Cell('John'), new Cell('Maria'), new Cell('Joseph')],
}),
new Column({
header: new Header({ title: 'Age' }),
cells: [new Cell(20), new Cell(30), new Cell(40)],
}),
new Column({
header: new Header({ title: 'Gender' }),
cells: [new Cell('Male'), new Cell('Female'), new Cell('Male')],
}),
]);
new Workbook().addWorksheet(worksheet).export('worksheet-name');
Pay attention: the cells will be organized according to the order they are arranged in
cells.
the export method will create a sheet at the root named according to the string passed by parameter.
The result will be a spreadsheet like this:
| Name | Age | Gender |
|---|---|---|
| John | 20 | Male |
| Maria | 30 | Female |
| Joseph | 40 | Male |
FAQs
A simple way to create spreadsheets.
We found that node-sheet 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.