
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
table-sort-js
Advanced tools
A JavaScript client-side HTML table sorting library with no dependencies required.
Description: A JavaScript client-side HTML table sorting library with no dependencies required.
Documentation. (work in progress)
Option 1. Install from npm: npm install table-sort-js
import tableSort from "table-sort-js/table-sort.js";
Refer to the documentation for examples on using table-sort-js with frontend frameworks such as ReactJS.
Option 2. Download table-sort.js (Select save as.)
Then add the following script before your HTML table:
<script src="table-sort.js"></script>
Refer to the documenation for examples how to use table-sort-js with HTML.
class="table-sort"
to HTML <table> tags.<table> classes | Description |
---|---|
"table-sort" | Make the table sortable! (Words, numbers, dates) |
"table-arrows" | Display ascending or descending triangles. |
"remember-sort" | If clicking on different columns remembers sort of the original column. |
<th> classes | Description |
---|---|
"order-by-desc" | Order by descending on first click. (default is aescending) |
"file-size" | Sort file sizes(B->TiB) uses the binary prefix. (e.g KiB) |
"data-sort" | Sort by data attributes, e.g <td data-sort="42"> |
"disable-sort" | Disallow sorting the table by this specific column |
If you wish to contribute, install instructions can be found here.
FAQs
A JavaScript client-side HTML table sorting library with no dependencies required.
The npm package table-sort-js receives a total of 2,184 weekly downloads. As such, table-sort-js popularity was classified as popular.
We found that table-sort-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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 malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.