mac-localhostname-async
v1.0.1
Published
Gets your local hostname so that you can reference it in scripts and it can be reached
Downloads
5
Readme
mac-localhostname-async
Gets your local hostname so that you can reference it in scripts and it can be reached
Returns a Promise
Usage:
nesh*> macLocalhostnameAsync = require('mac-localhostname-async')
nesh*> yield macLocalhostnameAsync()
'Charless-MacBook-Pro-2'