# is-fqdn

> Check if a string represent a fully qualified domain name

Latest version **2.0.1** (published 2020-10-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-fqdn
pnpm add is-fqdn
yarn add is-fqdn
bun add is-fqdn
```

## Health

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

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2020-10-02 |
| First published | 2016-05-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/is-fqdn) |
| Module format | CommonJS |
| Node | >=6 |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22 |
| Author | parro-it |
| Maintainers | parroit |

## Links

- npm: https://www.npmjs.com/package/is-fqdn
- Repository: https://github.com/parro-it/is-fqdn
- Homepage: https://github.com/parro-it/is-fqdn#readme
- Issues: https://github.com/parro-it/is-fqdn/issues
- npm.io page: https://npm.io/package/is-fqdn

## Recent versions

- 2.0.1 (latest) — 2020-10-02
- 2.0.0 — 2020-10-02
- 1.0.1 — 2016-05-06
- 1.0.0 — 2016-05-06
- 0.0.1 — 2016-05-06

## README

# is-fqdn

> Check if a string represent a fully qualified domain name.

[![Travis Build Status](https://img.shields.io/travis/parro-it/is-fqdn.svg)](http://travis-ci.org/parro-it/is-fqdn)
[![NPM module](https://img.shields.io/npm/v/is-fqdn.svg)](https://npmjs.org/package/is-fqdn)
[![NPM downloads](https://img.shields.io/npm/dt/is-fqdn.svg)](https://npmjs.org/package/is-fqdn)

# Installation

```bash
npm install --save is-fqdn
```

# Usage

```js
const isFQDN = require("is-fqdn");

console.log(isFQDN("www.parro.it"));
// true

console.log(isFQDN("256.0.0.0"));
// false

console.log(isFQDN("s!ome.com"));
// false
```

# License

The MIT License (MIT)

Copyright (c) 2016 Andrea Parodi

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