@carto/fqdn-sync

Node module to get FQDN synchronously from local machine (Linux support)

Usage no npm install needed!

<script type="module">
  import cartoFqdnSync from 'https://cdn.skypack.dev/@carto/fqdn-sync';
</script>

README

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