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
const fqdn = ; // Async; /* OR */ // Syncconst name = ;
OS Support
Works on Windows, Linux and MacOS
Reference
This code is based on the original code.