🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

get-detailed-location

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-detailed-location

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

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

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

Keywords

ipv5

FAQs

Package last updated on 17 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts