
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 lightweight and beginner-friendly JavaScript table generator with built-in pagination, sorting, searching, and row-limit controls. This library helps you quickly display tabular data with a clean, responsive design and minimal setup — no external depend
A simple, lightweight JavaScript library to create tables with pagination, sorting, searching, and rows-per-page limits — all with minimal setup and no external dependencies.
npm install mgsdatatable
<div id="tableContainer"></div>
<script type="module">
import mgsDataTable from 'mgsdatatable';
// Call the function to render table
mgsDataTable({
target:"#tableContainer",
url:'http://localhost/mgs/users',
data: {},
methodType:'post', // Optional, default is post
pageLimits : [10,20,30,50,100], // Optional
page : 1, // Optional, default is 1
limit:10, // Optional, default is 10
column : '', // Optional, default is ''
sort : 'asc', // Optional, default is asc
search: '', // Optional, default is ''
prevPage: null, // Optional, default is null
nextPage: null, // Optional, default is null
isLimit:true, // Optional, default true
isSearch:true, // Optional, default true
isResult:true, // Optional, default true
isPagination:true, // Optional, default true
isSorting:true // Optional, default true
});
</script>
{
"status": true,
"data": {
"column": [
"name",
"role",
"email",
"mobile",
"image",
"status",
"action"
],
"data": [
{
"id": 1,
"name": "Mangesh",
"role": "superadmin",
"email": "mangesh@gmail.com",
"mobile": "1234567890",
"image": "<img src='http://localhost/mgs/storage/user/1692380264.avif' style='height: 50px;width:100px; border-radius:50px;'>",
"status": "<span data-id='1' class='status badge badge-sm badge-success' data-status='Inactive'>Active</span>",
"action": "<span data-id='1' class='btn-danger badge badge-sm badge-danger delete title='Delete'><i class='fa fa-trash'></i> </span> <a href='http://localhost/mgs/user-update/1' class='btn-success badge badge-sm badge-success title='Update'><i class='fa fa-edit'></i> </a>"
},
{
"id": 2,
"name": "Ashwani",
"role": "superadmin",
"email": "ashwani@gmail.com",
"mobile": "1234567891",
"image": "<img src='http://localhost/mgs/storage/user/1692380264.avif' style='height: 50px;width:100px; border-radius:50px;'>",
"status": "<span data-id='2' class='status badge badge-sm badge-success' data-status='Inactive'>Active</span>",
"action": "<span data-id='2' class='btn-danger badge badge-sm badge-danger delete title='Delete'><i class='fa fa-trash'></i> </span> <a href='http://localhost/mgs/user-update/2' class='btn-success badge badge-sm badge-success title='Update'><i class='fa fa-edit'></i> </a>"
},
],
"current_page:1,
"from": 1,
"to": 5,
"total": 27
},
"msg": "Data found"
}
FAQs
A lightweight and beginner-friendly JavaScript table generator with built-in pagination, sorting, searching, and row-limit controls. This library helps you quickly display tabular data with a clean, responsive design and minimal setup — no external depend
We found that mgstable demonstrated a healthy version release cadence and project activity because the last version was released less than 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.