Gathering detailed insights and metrics for react-native-vpn-detection
Gathering detailed insights and metrics for react-native-vpn-detection
npm install react-native-vpn-detection
Typescript
Module System
Node Version
NPM Version
24.4
Supply Chain
44.9
Quality
80.8
Maintenance
50
Vulnerability
93.8
License
Java (43.22%)
Objective-C (29.92%)
Ruby (24.55%)
JavaScript (2.31%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
288
Last Day
2
Last Week
43
Last Month
288
Last Year
288
MIT License
1 Stars
6 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Feb 05, 2025
Minified
Minified + Gzipped
Latest Version
1.0.3
Package Id
react-native-vpn-detection@1.0.3
Unpacked Size
111.72 kB
Size
75.93 kB
File Count
27
NPM Version
9.8.1
Node Version
18.18.2
Published on
Feb 05, 2025
Cumulative downloads
Total Downloads
Last Day
-99.2%
2
Compared to previous day
Last Week
-82.4%
43
Compared to previous week
Last Month
0%
288
Compared to previous month
Last Year
0%
288
Compared to previous year
1
1
$ npm install react-native-vpn-detection --save
$ react-native link react-native-vpn-detection
Libraries
➜ Add Files to [your project's name]
node_modules
➜ react-native-vpn-detection
and add RNNativeVpnDetect.xcodeproj
libRNNativeVpnDetect.a
to your project's Build Phases
➜ Link Binary With Libraries
Cmd+R
)<android/app/src/main/java/[...]/MainActivity.java
import com.reactlibrary.RNNativeVpnDetectPackage;
to the imports at the top of the filenew RNNativeVpnDetectPackage()
to the list returned by the getPackages()
methodandroid/settings.gradle
:
include ':react-native-vpn-detection'
project(':react-native-vpn-detection').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vpn-detection/android')
android/app/build.gradle
:
compile project(':react-native-vpn-detection')
1* Import Library 2import Security from "react-native-vpn-detection"; 3 4* Example Usage 5async function checkSecurity() { 6 let detectVPN = await Security.detectVPN().then(response => { return response }); 7 let detectProxy = await Security.detectProxy().then(response => { return response }); 8} 9checkSecurity();
No vulnerabilities found.
No security vulnerabilities found.