vpn-detect

vpn detector

A simple project using react-vpn-detector to check if a user is connected via VPN.

Features

Getting Started & Usage

  1. Clone the repository:

    git clone https://github.com/erfan-esmkhan/vpn-detect
    
  2. Go to the project folder:

    cd vpn-detect
    
  3. Install dependencies:

    npm i
    
  4. Start the development server:

    npm start
    

How It Works

react-vpn-detector checks the user’s IP address and matches it with known VPN providers. The useVpnDetector hook returns true if a VPN is detected, otherwise false.

Contributing

Contributions are welcome! Open an issue or create a pull request.

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeature).
  3. Commit your changes (git commit -m 'Add a feature').
  4. Push your branch (git push origin feature/YourFeature).
  5. Open a pull request.

Acknowledgments


Feel free to reach out if you have any questions or need help!