
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
react-html-table-to-excel
Advanced tools
Small react component for converting and downloading HTML table to Excel file
Provides a client side generation of Excel (.xls) file from HTML table element.
No additional dependencies
npm install --save react-html-table-to-excel
A list of available properties can be found below. These must be passed to the containing ReactHTMLTableToExcel
component.
Property | Type | Description |
---|---|---|
table | string | ID attribute of HTML table element. |
filename | string | Name of Excel file. |
sheet | string | Name of Excel sheet. |
id | string | ID attribute of button element. |
className | string | Class attribute of button element. |
buttonText | string | Button text. |
import React, {Component} from 'react';
import ReactHTMLTableToExcel from 'react-html-table-to-excel';
class Test extends Component {
constructor(props) {
super(props);
}
render() {
return (
<div>
<ReactHTMLTableToExcel
id="test-table-xls-button"
className="download-table-xls-button"
table="table-to-xls"
filename="tablexls"
sheet="tablexls"
buttonText="Download as XLS"/>
<table id="table-to-xls">
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
<td>94</td>
</tr>
</table>
</div>
);
}
}
export default Test
FAQs
Small react component for converting and downloading HTML table to Excel file
The npm package react-html-table-to-excel receives a total of 3,625 weekly downloads. As such, react-html-table-to-excel popularity was classified as popular.
We found that react-html-table-to-excel 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.