1.1.1 • Published 6 months ago
detect-crawling-react v1.1.1
Description
A React Component for Crawling Detection based on URL and Mouse Position Information
Installation
npm install detect-crawling-react
Usage
import DetectCrawlingReact from "detect-crawling-react";
function App() {
// Define a function to execute when crawling is detected
const callback = async () => {
alert("Crawling Detected");
};
return (
<div className="App">
<DetectCrawlingReact callback={callback} />
// Your Component
</div>
);
}