# quick-local-ip

> This is a tiny utility to get local ip address with in node applications.

Latest version **1.0.7** (published 2015-10-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install quick-local-ip
pnpm add quick-local-ip
yarn add quick-local-ip
bun add quick-local-ip
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2015-10-12 |
| First published | 2015-09-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Alok Guha |
| Maintainers | aloksguha |
| Keywords | nodejs, npm, local ip, network, ip4, ip6, netmask |

## Links

- npm: https://www.npmjs.com/package/quick-local-ip
- Repository: https://github.com/aloksguha/myip
- Homepage: https://github.com/aloksguha/myip#readme
- Issues: https://github.com/aloksguha/myip/issues
- npm.io page: https://npm.io/package/quick-local-ip

## Dependencies (1)

- [mocha](https://npm.io/package/mocha.md) ^2.3.3

## Recent versions

- 1.0.7 (latest) — 2015-10-12
- 1.0.6 — 2015-10-01
- 1.0.5 — 2015-10-01
- 1.0.4 — 2015-10-01
- 1.0.3 — 2015-09-26
- 1.0.2 — 2015-09-25
- 1.0.1 — 2015-09-25
- 1.0.0 — 2015-09-25

## README

# Quick-local-ip

quick-local-ip is a utility module which provides straight-forward access to local network addresses. it provides 2 functions to get local ip addresses.

### Installation

    npm install --save quick-local-ip

- If System is connected to multiple internet connections like wifi and ethernet and usb internet, following methods will return any active internet address in string format.
- If System is connected with one internet connection, methods will return ip address in string format.
- If system is not connected with internet default local address will be returned by all methods.
- These method will never return null or undefined.



## Quick Examples

var myip = require('quick-local-ip');

### getting ip4 network address of local system.

    myip.getLocalIP4();


### getting ip6 network address of local system

    myip.getLocalIP6();

---
_Source: https://npm.io/package/quick-local-ip · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
