Licence
BSD-3-Clause
Version
0.2.2
Deps
0
Size
4 kB
Vulns
0
Weekly
0
node-fqdn-sync
Node module to get FQDN synchronously from local machine (Linux support)
Install
npm install @carto/fqdn-sync
Usage
const fqdn = require('fqdn-sync');
console.log("FQDN:", fqdn()); // foo.carto.net
console.log("FQDN:", fqdn.reverse()); // net.carto.foo