get-subnet-mask
v1.1.11
Published
React Native Subnet Mask for IOS and Android
Downloads
11
Readme
get-subnet-mask
React Native Subnet Mask for IOS and Android
Usage
getSubnet() return the subnet mask value.
import SubnetmaskModule from ‘get-subnet-mask’;
SubnetmaskModule.getSubnet((sb) => {
console.log(sb);
});
getIpV4() return the IP value.
import SubnetmaskModule from ‘get-subnet-mask’;
SubnetmaskModule.getIpV4((ip) => {
console.log(ip);
});
##Install
npm install get-subnet-mask
react-native link
License
MIT