
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.
ux-events-inspector
Advanced tools
SDK to track UX/browser events like clicks, navigation, input, etc.
Real-time UX tracking SDK and WebSocket backend for developers, capture user actions in the browser and stream them to a live server. Lightweight, open-source, and perfect for debugging and UX insights.
ux-events-inspector is a plug-and-play JavaScript SDK and backend combo that helps developers track user interactions (like clicks, navigation, etc) in real time.You can install the SDK via npm:
npm install ux-events-inspector
Import and initialize it in your project like this:
import { initInspector } from 'ux-events-inspector';
initInspector({
serverUrl: 'ws://localhost:3000', //websocket sever url
userId: 'your-user-id',
capture: ['click']
});
[ Browser (SDK) ]
|
| WebSocket
v
[ Server (Node.js/ws) ]
|
| (future: DB / File storage)
v
[ Viewer UI / Replay Tool]
click, navigation, scroll, input, resize, keydown, visibilitychange, mousemove, and network events in browseresbuildux-events-inspector)First, start your WebSocket server to receive socket events: A simple example server: https://github.com/Shahidullah-Muffakir/uxlivetrace/blob/main/server.ts
Install the published SDK package
npm install ux-events-inspector
In your web app, import the SDK from the npm package and initialize it using your WebSocket server URL:
import { initInspector } from 'ux-events-inspector';
initInspector({
serverUrl: 'ws://localhost:3000', // Use your WebSocket server URL here
userId: 'your-user-id',
capture: ['click, navigation'] // add all the events you want to track
});
Your web page that includes the SDK will connect to the WebSocket server and stream real-time UX events.
Now, your dashboard or any viewer UI should subscribe to the same WebSocket server URL to receive the user interaction events live. This setup enables the dashboard to listen for and display incoming events from users as they happen A simple dashboard example:https://github.com/Shahidullah-Muffakir/uxlivetrace/blob/main/dashboard.html
Client connected
Received event batch: [{ type: 'click', ... }]
[click] from test-user at (x, y)
ux-events-inspector aims to give you full control and minimal friction.Have ideas? Want to build the visual replay tool, dashboard, or improve packaging/CDN support? PRs welcome — open an issue or submit a pull request!
MIT — use it freely, improve it, fork it, share it.
A real-time, open-source UX inspector for devs. Capture user clicks, stream via WebSocket, and see what your users are doing — live.
FAQs
SDK to track UX/browser events like clicks, navigation, input, etc.
We found that ux-events-inspector 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.