react-native-latlon
v0.1.3
Published
react native latlon by ip internet
Downloads
4
Maintainers
Readme
react-native-latlon
react native latlon by ip internet
Installation
npm install react-native-latlon
use yarn
yarn add react-native-latlon
Usage
import Latlon,{ results } from "react-native-latlon";
interface results {
lon: number;
lat: number;
city: string;
country: string;
};
LatLon.getIp().then((results: results) => {console.log(results)})
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT