iscaptive
Node.js library for detecting captive portals
Features
- Detect captive portals
- Choose captive server
-
- isCaptive (Powered by AWS CloudFront)
Installation
Yarn:
yarn add iscaptive
NPM:
npm install iscaptive
Usage
The library consists of one main function.
Basic example
const isCaptive =
Advanced usage
You can specify another captive server (currently only our own captive server) and protocol (http
or https
(default)).
Captive server:
Protocol: