Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/khalisafkari/react-native-latlon
react native latlon by ip internet
https://github.com/khalisafkari/react-native-latlon
Last synced: about 2 months ago
JSON representation
react native latlon by ip internet
- Host: GitHub
- URL: https://github.com/khalisafkari/react-native-latlon
- Owner: khalisafkari
- License: mit
- Created: 2020-11-02T06:51:58.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-14T10:16:07.000Z (about 4 years ago)
- Last Synced: 2024-08-09T17:52:00.454Z (6 months ago)
- Language: Java
- Size: 158 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# react-native-latlon
react native latlon by ip internet
## Installation
```sh
npm install react-native-latlon
```**use yarn**
```sh
yarn add react-native-latlon
```## Usage
```typescript jsx
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](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
## License
MIT