# Install lan-network with npm

Best-effort discovery of the machine's default gateway and local network IP exclusively with UDP sockets. Version 0.2.1 via npm; verified 2026-04-06.

## Install

```sh
sudo av install npm:lan-network
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g lan-network
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:lan-network
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/lan-network>
- **Version:** 0.2.1
- **Source summary:** Best-effort discovery of the machine's default gateway and local network IP exclusively with UDP sockets.
- **Homepage:** <https://github.com/kitten/lan-network#readme>
- **Repository:** <https://github.com/kitten/lan-network>
- **Upstream docs:** <https://github.com/kitten/lan-network#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/lan-network/-/lan-network-0.2.1.tgz>
- **Issue tracker:** <https://github.com/kitten/lan-network/issues>
- **Published:** 2026-04-06T19:06:17.838Z
- **Last updated:** 2026-04-06T19:06:17.838Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- lan-network (cli)
- lan-network (alias)

## Build dependencies

- @babel/plugin-transform-typescript
- @changesets/cli
- @changesets/get-github-info
- @rollup/plugin-babel
- @rollup/plugin-commonjs
- @rollup/plugin-node-resolve
- @rollup/plugin-terser
- @types/node
- dotenv
- lint-staged
- npm-run-all
- prettier
- rimraf
- rollup
- rollup-plugin-cjs-check
- rollup-plugin-dts
- typescript
- vitest

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.2.1
- Package-manager updated: 2026-04-06
- Local data: ok
- Upstream repository: https://github.com/kitten/lan-network
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for lan-network. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Canary: 0.2.1-canary-ee60e1415dc323843c07e3a0d0acda998ed2d9ae, Latest: 0.2.1
- **Version Count:** 18
- **Maintainers:** philpl
- **Author:** Phil Pluckthun
- **Publisher:** GitHub Actions
- **Integrity:** sha512-ONPnazC96VKDntab9j9JKwIWhZ4ZUceB4A9Epu4Ssg0hYFmtHZSeQ+n15nIwTFmcBUKtExOer8WTJ4GF9MO64A==
- **Shasum:** e4764a0d17f6bd1f2794c838fa219526a1b756f8
- **Unpacked Size:** 25,738
- **File Count:** 0
- **Created At:** 2025-02-21T17:02:17.301Z
- **Latest Published At:** 2026-04-06T19:06:17.838Z
- **Modified At:** 2026-04-06T19:06:18.151Z


## Related links

- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched curated package taxonomy and local package facts.
- [network-address](https://pkg.so/npm/network-address/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, discovery, local, machine, network.
- [arp-scan](https://pkg.so/brew/arp-scan/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, discovery, local, network, network-discovery.
- [whosthere](https://pkg.so/brew/whosthere/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, discovery, lan, network, network-discovery.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
