🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

is-fqdn

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

is-fqdn

Check if a string represent a fully qualified domain name

2.0.1
latest
Source
npm
Version published
Weekly downloads
1.4K
-12.85%
Maintainers
1
Weekly downloads
 
Created
Source

is-fqdn

Check if a string represent a fully qualified domain name.

Travis Build Status NPM module NPM downloads

Installation

npm install --save is-fqdn

Usage

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

FAQs

Package last updated on 02 Oct 2020

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