# @ta-interaktiv/parse-hostname

> Parse a host name to figure out from where a visitor is visiting.

Latest version **1.5.3** (published 2026-01-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install @ta-interaktiv/parse-hostname
pnpm add @ta-interaktiv/parse-hostname
yarn add @ta-interaktiv/parse-hostname
bun add @ta-interaktiv/parse-hostname
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.5.3 |
| Published | 2026-01-28 |
| First published | 2017-05-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kaspar Manz |
| Maintainers | mathiaslutz, sebaa, dariush-mehdiaraghi, mrdz_tx, s1co |
| Keywords | parse, hostname |

## Links

- npm: https://www.npmjs.com/package/@ta-interaktiv/parse-hostname
- Repository: https://github.com/DND-IT/interaktiv-packages
- Homepage: https://github.com/DND-IT/interaktiv-packages/tree/master/packages/parse-hostname
- Issues: https://github.com/DND-IT/interaktiv-packages/issues
- npm.io page: https://npm.io/package/@ta-interaktiv/parse-hostname

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.5.3 (latest) — 2026-01-28
- 1.3.0-beta.083f3e70 (next) — 2018-04-16
- 1.3.0-beta.69cd6a47 (canary) — 2018-03-09
- 1.5.2 — 2026-01-19
- 1.5.1 — 2024-05-21
- 1.5.0 — 2024-05-21
- 1.4.3 — 2020-03-13
- 1.4.2 — 2020-01-10
- 1.4.1 — 2019-12-10
- 1.4.0 — 2019-09-04
- 1.3.5 — 2019-06-14
- 1.3.4 — 2019-06-05
- 1.3.3 — 2019-05-27
- 1.3.2 — 2019-05-02
- 1.3.1 — 2018-10-11
- … 14 more at https://npm.io/package/@ta-interaktiv/parse-hostname/versions

## README

# Parse Hostname

Parse a host name to figure out from where a visitor is visiting.

## Installation

```bash
yarn add @ta-interaktiv/parse-hostname
```

## Documentation

[Can be found here.](https://gitlab.com/ta-interaktiv/packages/tree/master/packages/parse-hostname/docs)

---
_Source: https://npm.io/package/@ta-interaktiv/parse-hostname · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
