1.0.0 • Published 7 months ago

fqdn-multi v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 months ago

fqdn-multi

Purpose

Simple utility to get the FQDN of a machine. Can be used synchronously or asynchronously

Why?: os.hostname() only returns the hostname rather than the FQDN

Usage

import fqdn from 'fqdn-multi';

const name = await fqdn();

console.log(name);

OS Support

Works on Windows, Linux and MacOS

Reference

This code is based on the original code.

Breaking

1.x

The module is ESM Module style and uses async/ await.

1.0.0

7 months ago

0.1.2

5 years ago

0.1.1

8 years ago

0.1.0

8 years ago