fqdn-promise

1.0.2 • Public • Published

fqdn.promise

Get the fully qualified domain name via a Promise

This module is inspired by node-fqdn but returns a promise rather than using the dasync library.

Install

npm install fqdn-promise

Usage

 
fqdn = require('fqdn-promise');
 
// then from inside an async function
myfullhostname = await fqdn();
 
// or
 
fqdn()
.then (myfullhostname) => ...
 

Issues

Please report any issues or make any suggestions at the Github issues page.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i fqdn-promise

Weekly Downloads

0

Version

1.0.2

License

Unlicense

Unpacked Size

3.19 kB

Total Files

4

Last publish

Collaborators

  • cliff