react-native-latlon
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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

Package Sidebar

Install

npm i react-native-latlon

Weekly Downloads

2

Version

0.1.3

License

MIT

Unpacked Size

253 kB

Total Files

100

Last publish

Collaborators

  • khalis_afkari