
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.
**Nekosense** is a lightweight Typescript library for React/Next.js applications that tracks user behavior such as clicks, hovers, scrolls, time-on-page, and more. Easy to integrate – ideal for behavior analytics or UI/UX optimization.
Nekosense is a lightweight Typescript library for React/Next.js applications that tracks user behavior such as clicks, hovers, scrolls, time-on-page, and more. Easy to integrate – ideal for behavior analytics or UI/UX optimization.
📦 Track events like:
⚙️ Flexible configuration
🔌 Easy to integrate into React / Next.js
🧠 Store and analyze user behavior
🪶 Lightweight and performant
npm install nekosense
or
yarn add nekosense
nekosenseInstance.ts in your src folderThis file will contain your Nekosense configuration and event trackers. You can import and reuse it anywhere in your app.
import {
Config,
HoverToClickTrack,
MouseClickTrack,
NekoSense,
} from "nekosense";
const config: Config = {
protocol: "http",
endPoint: YOUR_API_ENDPOINT,
};
export const nekosenseInstance = new NekoSense(config);
const mouseClickEvent = new MouseClickTrack({
elementIds: [
"header",
"product-product-1",
"product-product-2",
"product-product-3",
"product-product-4",
//other element id
],
});
const hoverToClick = new HoverToClickTrack({
elementIds: [
"product-product-1",
"product-product-2",
"product-product-3",
"product-product-4",
//other element id
],
});
nekosenseInstance.pagePerformance();
nekosenseInstance.heatMap();
nekosenseInstance.add(mouseClickEvent);
nekosenseInstance.add(hoverToClick);
nekosenseInstanceMake sure to initialize nekosenseInstance at the outermost level of your app (e.g., inside App.tsx or _app.tsx in Next.js) to ensure all tracking is activated.
nekosenseInstance.start();
User behavior data can be stored locally or sent to an endpoint depending on your config. Use it for analysis or visualizations.
MIT © 2025 caovanhoang63 and nhdhieuu
Pull requests and issues are always welcome ❤️
FAQs
**Nekosense** is a lightweight Typescript library for React/Next.js applications that tracks user behavior such as clicks, hovers, scrolls, time-on-page, and more. Easy to integrate – ideal for behavior analytics or UI/UX optimization.
We found that nekosense 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.