detect-crawling-react

1.1.1 • Public • Published

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>
  );
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i detect-crawling-react

      Weekly Downloads

      2

      Version

      1.1.1

      License

      MIT

      Unpacked Size

      3.25 kB

      Total Files

      4

      Last publish

      Collaborators

      • leemhoon00