js-fqdn

0.0.2 • Public • Published

js-fqdn

Get FQDN (Fully qualified domain name).

Usage

var fqdn = require('js-fqdn');
fqdn(function (err, hostname) {
  if (err) {
    console.log(err);
  } else {
    console.log(hostname);
  }
});

Only work on Linux.

Readme

Keywords

Package Sidebar

Install

npm i js-fqdn

Weekly Downloads

0

Version

0.0.2

License

ISC

Last publish

Collaborators

  • fatelei