GitXplorerGitXplorer
p

is-fqdn

public
21 stars
1 forks
9 issues

Commits

List of commits on branch master.
Unverified
22cfb52d6c256f2862bb8ac5960a823410b93634

2.0.1

pparro-it committed 4 years ago
Unverified
b6686e1af3a4761437b8067a31e84e97f64744ed

removed xp. use prettier

pparro-it committed 4 years ago
Unverified
cd300b2bac9831edcfe2e02223e038e8209b6c0d

2.0.0

pparro-it committed 4 years ago
Unverified
1dfb03c5c66c646fbbc6b225620d0c94885b3c32

bump ava version

pparro-it committed 4 years ago
Verified
a0523b08283f2aec36da702ece1776fa5a551a99

Merge pull request #3 from silverwind/nonstrings

pparro-it committed 4 years ago
Verified
6f065c0f4e33a0894428b0cf9252fc23c2d67780

return false when input is not a string

ssilverwind committed 7 years ago

README

The README file for this repository.

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