Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 573 Bytes

README.md

File metadata and controls

40 lines (25 loc) · 573 Bytes

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