npm.io
0.1.7 • Published 5 months ago

react-native-vpn-status

Licence
MIT
Version
0.1.7
Deps
0
Size
76 kB
Vulns
0
Weekly
0
Stars
3

react-native-vpn-status

Get current VPN status

Getting started

$ npm install react-native-vpn-status --save

or

$ yarn add react-native-vpn-status

and

$ cd ios && pod install

Usage

import { detectVPN } from 'react-native-vpn-status';

* Example
async function getStatusVPN() {
	const isStatus = await detectVPN(); // bool
}
getStatusVPN();

Keywords