1.0.4 • Published 6 months ago

get-detailed-location v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

getDetailedLocation

Get the detailed info including ipV4, ipV5, device and location details of the user.

Installation

npm i get-detailed-location

Usage

Import the functions ipv4(), ipv6() and locationDetails()

import { ipv4, ipv6, locationDetails } from 'get-detailed-location'

Getting the public IP addresses.

    console.log(await ipv4())
    console.log(await ipv6())
    console.log(await locationDetails())

OR

    ipv4().then((data)=>{
        console.log(data)
    })
    ipv6().then((data)=>{
        console.log(data)
    })
    locationDetails().then((data)=>{
        console.log(data)
    })

For contributions

$ git clone git@github.com:sreenathch/get-detailed-location.git
1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago